Category: Aws
-
Using a Bash Script to Associate an Elastic IP Address to an EC2 instance
In previous articles, I explained how to create an AMI from an EC2 instance and then launch the instance with scripts. Next, you probably want to assign an Elastic IP (IPv4 address) to the instance. In this post, you will learn how to allocate, release, associate, and disassociate an Elastic IP with the AWS CLI…
-
Pulumi Tutorial: How to Deploy an EC2 Instance
Pulumi is an infrastructure-as-code (IaC) solution similar to Terraform. One advantage of Pulumi is that it allows DevOps engineers to use familiar programming languages to define, deploy, and manage cloud infrastructure. This post demonstrates how to deploy an EC2 instance with Pulumi. Pulumi supports several programming languages, such as Python, TypeScript, C#, and Go, enabling…
-
Step-by-Step Guide on Creating an Amazon Machine Image (AMI) for an EC2 Instance using Bash and PowerShell Scripts
The provided Bash and PowerShell script helps automate the creation of Amazon Machine Images (AMIs) from existing AWS Elastic Compute Cloud (EC2) instances. This is particularly useful for creating point-in-time backups or disaster recovery. I mostly use the script to quickly clone an EC2 instance for testing or troubleshooting. Create an AMI in the AWS…