To create the subnet in VPC:
subnet = c.create_subnet(vpc.id, '10.0.0.0/25')
subnet.id
u'subnet-xxxxxx'
subnet.state
u'pending'
subnet.cidr_block
u'10.0.0.0/25'
subnet.available_ip_address_count
123
subnet.availability_zone
u'us-east-1b'
Create an ec2 instance on that subnet:
instances = ec2.create_instances(
ImageId='ami-835b4efa', InstanceType='t2.micro', MaxCount=1, MinCount=1,
NetworkInterfaces=[{'SubnetId': subnet.id, 'DeviceIndex': 0, 'AssociatePublicIpAddress': True, 'Groups': [sec_group.group_id]}])
instances[0].wait_until_running()
print(instances[0].id)
Have a look at this for creating rds using boto
https://gist.github.com/ikai/c79be091f98da1b709ee