Question 29. How To Determine The Root Device Type Of Your Ami ? Answer : We can determine the Root Device type of AMI using following 2 methods. Method 1: Following are the steps to determine the Root Device type of an AMI using the console Open the Amazon EC2 console In the navigation pane, click AMIs, and select the AMI Check the value of Root Device Type in the Details tab as follows If the value is ebs, this is an Amazon EBS-backed AMI If the value is instance store, this is an instance store-backed AMI Method 2: Following are the steps to determine the root device type of an AMI using the command line We can use one of the following commands. describe-images (AWS CLI) Get-EC2Image (AWS Tools for Windows PowerShell)
Question 24. How To Migrate An Instance To Another Availability Zone ? Answer : You can migrate your EC2 instance from one Availability Zone to another. Following are the steps to migrate an Instance to another Availability Zone: Create an AMI from the running instance Launch an instance from the AMI that you just created, specify the new Availability Zone You can use the same instance type as the original instance, or select a new instance type If the original instance has an associated Elastic IP address, then associate it with the new instance If the original instance is a Reserved Instance, change the Availability Zone for your reservation
Question 38. Is It Possible To Change The Private Ip Addresses Of An Ec2 While It Is Running/stopped In A Vpc ? Answer : The primary private IP address cannot be changed. Secondary private addresses can be unassigned, assigned or moved between interfaces or instances at any point.
Comments
Post a Comment