In this tutorial, we start to terraform AWS setup lab. Now, let’s go Terraform aws get started.
- Create a new AWS free tier.
- Setup MFA for the root user.
- Create new Admin user and configure MFA.
- Install and configure AWS CLI on Mac/Linux and Windows
- Install Terraform
Create a new AWS free tier
First, we create a new AWS free tier account. The email address would be the root user for this account.
Setup MFA for the root user.
Activate MFA as the picture below:
Create Admin user and configure MFA
- Do not use the root user for day-to-day work
- Create new admin user and secure with MFA.
Install and configure AWS CLI on Mac/Linux and Windows
Install AWS CLI on MAC/Linux
Using bundled install on MAC/Linux
curl https://s3.amazonaws.com/aws-cli/awscli-bundle.zip -o "awscli-bundle.zip" unzip awscli-bundle.zip sudo ./awscli-bundle/install -I /usr/local/aws -b /usr/local/bin/aws ./awscli-bundle/install -h
Using pip on Mac/Linux
curl -O https://bootstrap.pypa.io/get-pip.py python3 get-pip.py -user pip3 install awscli --upgrade -user aws --version
Install AWS cli on Windows
aws configure --profile devopsroles-demo AWS Access Key ID [None]: XXXXZHBNJLCKKCE7EQQQ AWS Secret Access Key [None]: fdfdfdfd43434dYlQ1il1xKNCnqwUvNHFSv41111 Default region name [None]: Default output format [None]:
Link download here: Download Terraform – Terraform by HashiCorp
After install Terraform.
C:\Users\HuuPV>terraform --version Terraform v1.0.6 on windows_amd64 Your version of Terraform is out of date! The latest version is 1.0.7. You can update by downloading from https://www.terraform.io/downloads.html
You have installed and configured Terraform AWS labs. I hope will this your helpful. Thank you for reading the DevopsRoles page! Terraform aws get started.