To create a subnet inside a VPC you can simply follow the following steps:-
1. Select your VPC inside which you want a subnet.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=17847273611711815229)
2. Configure the following according to your needs and click on create.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=15760043568721505184)
3. Your subnet has been created.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=4845184384159620198)
4. Your subnet has been created.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=13073297996733699329)
This way you can create a subnet within a VPC. Hope this helps.