Category

AWS Cloud

How to Configure Email Alerts for AWS Auto Scaling Using SNS

AutoscalingAWS Auto Scaling allows the user flexibility to achieve horizontal scalability by automatically adding or removing the Amazon EC2 compute resources. AWS does not charge separately; it charges for all the additional EC2 compute resources. It is important for the user to know when Auto Scaling has added new resources and when resources have been removed. Auto Scaling can be configured with Simple Notification Services (AWS SNS) to get the notification when a new EC2 instance is launched or terminated.

The present guide demonstrates how to configure Auto Scaling to send an email notification when Auto Scaling adds or removes the EC2 computer resources. Since AWS does not provide the management console for Auto Scaling, all the tasks would be performed by Auto Scaling  CLI.

How to Clean-up Unused AWS EBS Volumes and Snapshots

Clean EBS and SnapshotsIn this post, I will show you how to clean up unused Amazon EBS Volumes and Snapshots.

This is worth doing as quite a collection can build up over time and Amazon Web Services has limits on the number of volumes and snapshots you can store; these limits can be increased, but you have to make a Request to Increase the Amazon EBS Volume Limit.

What are EBS Volumes?

Volumes behave like raw, unformatted block devices, with user supplied device names and a block device interface. You can create a file system on top of Amazon EBS volumes, or use them in any other way you would use a block device (like a hard drive).

How to Configure AWS Cloud Auto Scaling to Scale Based on a Schedule

AWS Auto Scaling provides horizontal scaling by automatically adding or removing computer resources for the application hosted on AWS. The present guide demonstrates how to configure Auto Scaling to scale based on a schedule. Auto Scaling is ideally suited for an application where there is a requirement for scalability.

AWS does not provide an AWS Management console for Auto Scaling. Thus, all the operations should be performed through CLI or API. When the user wants to configure Auto Scaling for their resources, it is required to follow certain steps. The first step is to create a launch configuration, which defines resources, such as the AMI, EBS or Instance Type or detailed monitoring to be added by Auto Scaling.

How to Configure AWS Auto Scaling to Scale Based on the Demand

AutoscalingAWS Auto Scaling provides horizontal scaling by automatically adding or removing computer resources for the application hosted on AWS. Auto Scaling is ideally suited for an application where there is a requirement for scalability.

AWS does not provide an AWS Management console for Auto Scaling. Thus, all the operations should be performed through CLI or API. When the user wants to configure Auto Scaling for their resources, it is required to follow certain steps. The first step is to create a launch configuration, which defines resources, such as the AMI, EBS or Instance Type or detailed monitoring to be added by Auto Scaling.

How to Configure AWS Auto Scaling to Scale Manually with a Fixed Number of EC2 Instances

AWS Auto Scaling provides horizontal scaling by automatically adding or removing compute resources for the application hosted on Amazon AWS cloud. Auto Scaling ensures that the number of Amazon EC2 instances increases seamlessly when the demand escalates for maintaining the application performance, and decreases automatically when the demand declines for minimizing the costs. This guide demonstrates how to configure Auto Scaling to scale manually with a fixed number of instances.

AWS does not provide an AWS Management console for Auto Scaling. Thus, all the operations should be performed through CLI or AWS APIs. When the user wants to configure Auto Scaling for their resources, it is required to follow certain steps. The first step is to create a launch configuration, which defines resources, such as the AMI, EBS or Instance Type, or detailed monitoring to be added by Auto Scaling.

How to Create, Update and Delete an AWS Auto Scaling Group

AutoscalingAWS Auto Scaling provides horizontal scaling by automatically adding or removing compute resources for the application hosted on AWS. The user can achieve Auto Scaling in different ways, such as maintaining the number of healthy instances or adding/ removing instances based on demand.

AWS does not provide the AWS Management console for Auto Scaling. Thus, all the operations should be performed through CLI or API. When the user wants to configure Auto Scaling for their resources, it is required to follow certain steps. The first step is to create a launch configuration, which defines resources, such as AMI, EBS or Instance Type or detailed monitoring to be added by Auto Scaling.

How-to Copy an AMI from One AWS Region to Another

Copy AWS AMI from One Region to AnotherAWS is ideally suited for making the user’s applications tolerant to disaster. One of the options for making the user’s application suitable to DR is to keep a back up of the data / application setup in multiple regions. If the first region is not reachable due to some reason, the user can start the application from the other region. In Dec 2021 AWS introduced the functionality to copy snapshot across regions. In March 2022 AWS announced the functionality to migrate the AMI from one region to another. The present guide demonstrates how to copy an AMI from one region to other.

Disaster Recovery in The Cloud: AWS EBS Snapshot in a Single Click

cloud backupIn my journey through the cloud I often come across great new initiatives. The interesting fact is that although the cloud is a pure revolution terms such as SLA, TCO and ROI remain valid, new methodologies and techniques are presented to support them in the cloud.

How to Create, View and Delete an AWS Auto Scaling Configuration

AWS Auto Scaling provides horizontal scaling by automatically adding or removing computer resources for the application hosted on AWS. The user can achieve Auto Scaling in different ways, such as maintaining the number of healthy instances or adding/ removing instances based on demand. The present guide demonstrates how to create, view or delete an Auto Scaling configuration.

How-to Install AWS Command Line (CLI) Tools for Auto Scaling

Scaling is one of the most important factors for Cloud Services. It allows the user to optimize the cost by providing resources only when required. Amazon Cloud Auto Scaling provides horizontal scaling by automatically adding or removing the computer resources for the application hosted on AWS. The changes are on demand based on the triggers configured by the user.

Consider the following scenario: when the user’s web application is hosted on AWS and there is a sudden increase of traffic to that website. If the user fails to scale up based on the need, the application may fail or give a slow response. If the user has configured parameters such that AWS adds more application resources (EC2 Instances) when the traffic increases the application will continue to respond with the same performance as before.

The present guide demonstrates how to install Auto Scaling CLI on a Windows machine.

Hitchhiker's Guide to The Cloud

Newvem's eBook for Cloud Operations