Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 9:Creating ebs,attach and detach the volumn to the instance

                                  Lab 9:Creating ebs,attach and detach the volumn to the instance
What is EBS?

It is storage service provided by the amazon cloud,it provided block level storage for use use with an EC2 instance.

Why we use?
Data Availability,data presistency,you can take snapshot also.

Lab:
Creating an EBS volume
On EC2 dashboard
Choose Elastic Block Storage
Select volumes



Click on Create 




In the creating volume dialog puropse ssd
volume types---------------->Select geeral purpose ssd
Size------------------------>select the size you want to create 
Availibility Zone ------------>as per requirements
Thoughput(MB/s)----------->not applicable
Leave remaining as defaults
Then click on Create 




In name column give the name to created volume



Now attach the volume to the instance:
Select the volume you created 
click on action
Select attach volume



Select the instance which should be in the same zone which you created the volume in the same zone

Click on attach



To detach the volumn
On EC2 dashboard
Choose Elastic Block Volume
Select the volume to be detach



Select Yes detach



To delete the volume
Select the volume you want  to be delete
In actions dropdown select delete volume



Select Yes delete



Reference:https://n2ws.com/blog/how-to-guides/connect-aws-ebs-volume-another-instance

Comments

Popular posts from this blog

Lab 21:Installing docker in instance and build an image

Lab 22:Pushing a docker image to docker hub

Lab 5: Installing Nginx in EC2 instance