Skip to content

ueisele/showcases-cloud-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Cloud Showcases

The goal of this repository is to demonstrate and evaluate AWS services and to provide an infrastructure for additional showcases.

Prerequisites

Tools

Download and install the following tools:

Configure the tools:

Create AWS Cli profile
export SHOWCASE_AWS_PROFILE=tu-dev-ueisele
aws configure --profile ${SHOWCASE_AWS_PROFILE}

IAM Permissions

The required IAM permissions can be found in the individual directories.

To capture the required policy, the tool iamlive was used. How to use it together with terraform is describe in the blog article Determining AWS IAM Policies According To Terraform And AWS CLI.

Roughly summarized the following steps are required:

Install iamlive
go install github.com/iann0036/iamlive@latest
Start iamlive in proxy mode
iamlive \
    --profile ${SHOWCASE_AWS_PROFILE} \
    --mode proxy --bind-addr 0.0.0.0:10080 \
    --force-wildcard-resource \
    --output-file required-iam-policy.json
Navigate to the terminal in which you want to run terraform and set the proxy env variables
export HTTP_PROXY=http://127.0.0.1:10080 \
       HTTPS_PROXY=http://127.0.0.1:10080 \
       AWS_CA_BUNDLE="${HOME}/.iamlive/ca.pem"
If you now run terraform apply, the required policy is recorded by iamlive
terraform apply --var "profile=${SHOWCASE_AWS_PROFILE}"

Next Steps

Access

  • VPN Server for secure access

  • Public access for Confluent Platform

Resource Usage

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published