AWS
Last updated
Last updated
The lab environment for this workshop is hosted on Amazon Web Services (AWS) to ensure maximum convenience and a seamless experience for all participants. The workshop setup includes a base virtual machine (VM) for our Command and Control (C2) server, alongside a fully configured Active Directory (AD) domain. This domain features a bastion host (serving as a VPN concentrator), three domain controllers, and a workstation. While it's technically possible to host this setup locally, leveraging AWS provides a more streamlined, reliable, and scalable solution to ensure the best possible learning environment.
Walkthrough: Creating a New AWS Account and Generating IAM Secrets with Full Administrator Access
A full video walkthrough can be found here:
Open your browser and navigate to https://signin.aws.amazon.com/signup?request_type=register
You will be asked to provide a root user email address as well as an AWS account name, please fill out these values accordingly.
When done, click the Verify email address button
after verification of email, you will be requested to create a root user password - please create a secure password and remember it - or use a password manager.
AWS will ask for additional details, please fill out the appropriate values, don't worry they do not send you spam (at least they never have to me)
AWS will ask to provide a payment method. Fill out the appropriate values.
AWS will ask to verify your identity via a phone call or text message.
Last AWS will ask you to select a support plan - select Basic support.
Congratulations, you now created your account and should be able to sign in to the management console. https://aws.amazon.com/
Once Logged in, you will be greeted with a console dashboard.
Navigate to IAM (Identity Access Management) by clicking on the IAM button if visible or by typing IAM in the search bar
Click Users on the left-hand side.
Click Create User
provide a username, such as terraform or robodeploy
Click Attach Policies Directly
typically, AdministratorAccess is discouraged. However, since this terraform deployment is managing VPCs, Routing Tables, Security Groups and EC2 instances, it facilitates overhead. If you are uncomfortable with AdministratorAccess, make sure to delete the user after the workshop ends.
Search for AdministratorAccess
Click the little square so the box is checked and then click next (you might have to scroll down to reveal the next button)
You will be taken to a Review page, click the create user button
Once created, select the user from the overview and click on the Create access key button
Select Command Line Interface (CLI) as use case
check the Confirmation button
you can skip the description tag and just click the Create access key button.
Note your Access key and Secret Access Key, as you will need this for terraform later.
Congratulations, this is the end of the AWS setup guide. again, make sure to keep those access key and secret key handy, we will need them later.