When to use a Static IP addresses

by XDK 3. November 2019 05:58

Explanation:

SSL certificates linked to an IP address.
Firewall rules that allow or deny traffic using IP address ranges.
DNS name resolution, where a change in the IP address would require updating host records.
Role-based VMs such as Domain Controllers and DNS servers.
IP address-based security models which require apps or services to have a static IP address.

Tags:

Cloud Computing Services | Amazon Web Service | Microsoft Azure Services

How to trigger a cloudwatch alarm for testing?

by XDK 3. October 2019 22:10

Explanation:

Following is the command

aws cloudwatch set-alarm-state --alarm-name <Created alarm name> --state-reason <comment> --state-value ALARM

Tags:

Amazon Web Service | CloudWatch

How to create a s3 pre-signed URLs which expires in 10 minutes?

by XDK 3. October 2019 21:48

Explanation:

Following is the AWS CLI command

aws s3 presign <bucket URL> --expires-in <duration in seconds> --region <location name>

Example:

aws configure set default.s3.signature_version s3v4
aws s3 presign s3://xdk-bucket/xdkimage.jpg --expires-in 600 --region eu-east-1

Tags:

Amazon Web Service | S3

How to verify cfn-init & cfn-signal commands, executed successfully on the instance?

by XDK 2. October 2019 10:03

Explanation:

Verify the logs at the following location to debug the instance launch
/var/log/cloud-init.log
/var/log/cfn-init.log

 

Tags: ,

Amazon Web Service | CloudFormation

How to set instance status using AWS CLI?

by XDK 1. October 2019 22:32

Explanation:

Following is the command to set the health status of the specified instance.

aws autoscaling set-instance-health --instance-id <ID> --health-status <Healthy/Unhealthy>

Example: To set the instance Unhealthy

aws autoscaling set-instance-health --instance-id i-123456789 --health-status Unhealthy

Tags: ,

Amazon Web Service

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

About the author

My name is Xavier Dilip Kumar Jayaraj having 13+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

CategoryList