AWS Automation using Terraform

What is Terraform?

HashiCorp Terraform is an open-source infrastructure as code (IaC) software tool that allows DevOps engineers to programmatically provision the physical resources an application requires to run. Infrastructure as code is an IT practice that manages an application’s underlying IT infrastructure through programming.

What is AWS Automation?

Automation, a capability of AWS Systems Manager, simplifies common maintenance and deployment tasks of Amazon Elastic Compute Cloud (Amazon EC2) instances and other AWS resources. … Build automations to configure and manage instances and AWS resources.

Here is a full tutorial video (Concept + Demo) based on AWS Automation using Terraform👇

Resource: aws_launch_configuration

Provides a resource to create a new launch configuration, used for autoscaling groups.

Example Usage

Using with AutoScaling Groups

Launch Configurations cannot be updated after creation with the Amazon Web Service API. In order to update a Launch Configuration, Terraform will destroy the existing resource and create a replacement. In order to effectively use a Launch Configuration resource with an AutoScaling Group resource, it’s recommended to specify create_before_destroy in a lifecycle block. Either omit the Launch Configuration name attribute, or specify a partial name with name_prefix. Example:

With this setup Terraform generates a unique name for your Launch Configuration and can then update the AutoScaling Group without conflict before destroying the previous Launch Configuration.

I HOPE YOU ALL ARE CLEAR WITH THIS,

IF YOU ARE FACING ANY PROBLEM THEN YOU CAN TAKE HELP OF ABOVE VIDEO.

▬▬▬▬▬▬ WANT TO LEARN MORE? ▬▬▬▬▬▬

DevOps Tools, like Ansible ► https://bit.ly/3iASHuP

Docker Tutorial ► https://bit.ly/3iAT9Jx

AWS Tutorial ► https://bit.ly/30GFv1q

GCP Tutorial ► https://bit.ly/3mwh412

Jenkins Tutorials ► https://bit.ly/3iHnfv4

Jenkins Pipeline ► https://bit.ly/30CJGLB

Python ► https://bit.ly/3I7bewU

Python in just 1 video ► https://bit.ly/3EeqGVy

▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬

Youtube Subscription ► https://bit.ly/2LENtS1

Facebook Page: ► https://www.facebook.com/EasyAWSLearn/

Blog: ► https://easyawslearn.blogspot.com/

Dev: ► https://dev.to/easyawslearn

Telegram Channel: ► https://t.me/devtul

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store