# Day 12 : Attach Volume to EC2 Instance

Welcome from Day 12. In this lab you will learn how to attach volume to EC2 instance. The EC2 instance and volume have already been created. You just need to attach this volume to the EC2 instance.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916724450/895452c8-65b9-4fbf-97c5-422a9daa3507.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916770838/be3ccbc0-22cc-4938-8328-84cebad8b3db.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916786630/a47db2e0-b472-4f98-a39d-e49a1cb45836.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916873538/7261bac7-fabc-44c3-94cc-e4a3982d90de.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916853999/3688cd3a-f1ce-4f27-a36b-bf1ba56dfae6.png align="center")

Go to the actions tab, click on storage, and you will see the attach volume function.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764916966063/8f4e2be9-6d00-41bb-9bc5-daee278f7f48.png align="center")

You need to set **/dev/sdb** as the device name.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764917001476/fb29fdf1-2436-466a-a248-b860d5b89d30.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764917044282/75022b01-4072-4ee6-bd66-03e0476c4538.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764917120508/59eb7042-82dd-45e1-b22f-1f62a6e01fde.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764917142919/eb3274e1-8e24-4fe7-ab43-192396fbcdfb.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764917160186/6b9fd6c9-5d59-4d22-88cc-306af576a1e2.png align="center")

Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 13. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.
