Friday, July 3, 2020

Q33

Question 33. How To Update Ami Tools At Boot Time ?

Answer :

AWS recommends that your AMIs download and upgrade the Amazon

EC2 AMI creation tools during startup. This ensures that new AMIs based on your shared AMIs have the latest AMI tools.

For Amazon Linux, add the following to /etc/rc.local:

# Update the Amazon EC2 AMI tools

echo ” + Updating EC2 AMI tools”

yum update -y aws-amitools-ec2

echo ” + Updated EC2 AMI tools”

No comments:

Post a Comment

Managing Kubernetes Resources

kubectl: This is the command-line interface for interacting with Kubernetes clusters. # list running Pods kubectl get pods # list running Se...