Terraform walk through with AWS creating S3 buckets

Terraform is a IaaC tool developed by Hashicorp. It can be used with multiple platforms like AWS, Microsoft Azure, GCP and provision different environments.

Running Terraform is simple, you simply need to install Terraform first on the host you intend to run, whether it be local, remote or cloud hosts. Move to desired location /usr/local/bin. Then create a Terraform config file – which is written in HCL (Hashicorp Config Language) that ends with .tf extension.
Using simple commands like Terraform init, plan, apply, destroy, you can manage and provision infrastructure safely and efficiently.

See my Video tutorial on setting up Terraform on AWS EC2 instance.

My Video Tutorials

Here are some Azure tutorials that I have created.
The reason why I create video tutorial is because I can help others while I am improving myself learning.
To create a tutorial, I need to know every single details about my topic. Therefore I got to prepare more and learn more by creating these tutorials.

These contents are free for educational non-profit purposes. I have put time and effort to create these tutorials.
If you push a subscribe button on my channel, I would be much appreciated and this will also encourage me to create more tutorial videos. Thanks.

My Youtube Channel below –
https://www.youtube.com/channel/UC-w05D5NxOcfogVG2-VlHtQ/videos

 

IaaC and my weapons of choice

With Infrastructure as a Code IaaC, you can manage any infrastructure such as Network, Servers, Storage and Applications. There are many common IaC tools. Although you can use any combination of these tools to create similar solutions, these are strength in each tools and these are my preferences to achieve different goals.

Image Templates
You need image templates to create custom images of a Virtual Image or Container.
Then you will need software and dependencies installed on it. My weapon of Choice – Docker

Configuration Management
Ansible – the strength of this tool is that it is Idempotent. There is Ansible Playbook will which will check with repository. You can run the code multiple times and every time you run the code, it will only make changes to the difference and bring the code to defined state.

Provisioning Tools
Terraform – This Hashicorp tool supports almost every infrastructure and it can be set up on many platforms, AWS, VMware, Azure, you name it.

Cloud Formation – simply because it is AWS proprietary. If your job has alot to do with AWS, Cloud Formation is the way to go.

Teza