adding custom VPC
This commit is contained in:
5
.ebextensions/07-custom-vpc.config
Normal file
5
.ebextensions/07-custom-vpc.config
Normal file
@@ -0,0 +1,5 @@
|
||||
option_settings:
|
||||
aws:ec2:vpc:
|
||||
VPCId: "vpc-003597eb63a0a3efe"
|
||||
Subnets: "subnet-02cd8f7981ddfe345,subnet-02d9e1338e8d92d09,subnet-0e07d4d35394db524"
|
||||
|
||||
8
todo.md
8
todo.md
@@ -42,10 +42,6 @@ Decouple an exisitng RDS instance from ELB to RDS: <https://aws.amazon.com/premi
|
||||
|
||||
Deploy the ELB environment referencing the VPC + Subnets created with Cloudformation. Use https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/vpc-rds.html as a reference.
|
||||
|
||||
Check the security group defined in 06 is created successfully.
|
||||
|
||||
When you reference a resource in a config file with resources, if it exists in ELB it will apply that to the existing ELB resource. You can overwrite/append values this way.
|
||||
|
||||
For example setting `sslSecurityGroupIngress:` in a config resources will edit the security group for ssl ingress for your ec2.
|
||||
|
||||
Recreate env with database, check the DB subnets - are they the same as the EC2 subnets? If so we can reference them in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-ec2vpc with ELBSubnets
|
||||
|
||||
Can we use cloudformation functions (imports) in .config files under option_settings? (reference a VPC that already exists?)
|
||||
|
||||
Reference in New Issue
Block a user