![translation](https://cdn.durumis.com/common/trans.png)
This is an AI translated post.
Let’s set up and create AWS all at once (Terraform)
- Writing language: Korean
- •
-
Base country: All countries
- •
- Information Technology
Select Language
Summarized by durumis AI
- This blog post is about how to automate AWS configuration of an alien app using Terraform.
- Terraform is a tool that automates cloud infrastructure, helping you quickly and efficiently configure AWS.
- After installing AWS CLI and setting up security credentials for an IAM user, you can automate AWS configuration for the alien app by installing Terraform.
Alien App AWS Setup Record
In the previous post, I briefly mentioned the region and AWS design of the Alien App.
"I know you didn't see it, lol."
This time, I'm going to write down a record about using Terraform to quickly set it up.
What is Terraform?
Simply put, it's a tool that automates cloud infrastructure.
Think of it like a script that automates the configuration and creation of clouds like AWS and GCP.
Let's briefly talk about the advantages:
1. Less room for error.
First of all, instead of configuring things one by one, you can see the configuration script, so there are fewer chances of making mistakes.
2. Reusable
As the name suggests, if you need to make the same settings again in the future, you can simply take the script with you, making it easy to reuse.
3. Fast configuration speed
You can simply use it and have all the settings applied right away, making it faster than using AWS CLI directly, and a world of difference compared to using web pages!
Personally, I think these three are the biggest ones.
Let's get started
First, let's download AWS CLI.
You can just go to the website and download it, it's your choice.
Then, check it.
which aws
The next thing you need to do is configure it.
From your AWS account, you can configure the AccessKey and Secret Access Key of the IAM user you issued, and the region to use by default.
On the IAM dashboard,
1. Add a user
2. Create security credentials within that user
Next, you need to download Terraform, but there are many versions, so you can install tfenv and then install it with tfenv.
brew install tfenv
tfenv --version
# Install the latest version of Terraform
tfenv install
# Version check