To create a subnet inside a VPC you can simply follow the following steps:-
1. Select your VPC inside which you want a subnet.

2. Configure the following according to your needs and click on create.

3. Your subnet has been created.

4. Your subnet has been created.

This way you can create a subnet within a VPC. Hope this helps.