Closed babatundebusari closed 7 years ago
Hi babatun,
1- Custom VPC will work as long as you configure your environment to launch instances in the custom VPC. You can use a configuration file like this one when you create your environment, use the VPC options on the eb create command.
2- You can mount an existing file system in the same VPC by removing the efs-create.config file from your the .ebextensions directory and adding the ID of your existing file system to efs-mount.config
option_settings:
aws:elasticbeanstalk:application:environment:
EFS_VOLUME_ID: '`{"Ref" : "FileSystem"}`'
Replace the ref with your file system ID like this:
option_settings:
aws:elasticbeanstalk:application:environment:
EFS_VOLUME_ID: fs-e7605f4e
Thanks, -Michael
@mwunderl
1- Custom VPC will work as long as you configure your environment to launch instances in the custom VPC. You can use a configuration file like this one when you create your environment, (AND/OR) use the VPC options on the eb create command.
Is that AND or an OR? do i need to use that configuration file AND use the VPC options in eb create command or its ither OR?
Also HOW do i use the configuration file vpc-custom-loadbalanced.config? Do i replace it with the loadbalancer-sg.config
file or i add it as additional file? If i need to add it, where do i add it to?
Thanks
@mwunderl
never mind
i just used the option available with eb create ..
and it worked like a champ
Found this helpful. URL has moved if someone needs it: https://raw.githubusercontent.com/awslabs/elastic-beanstalk-docs/master/configuration-files/aws-provided/environment-configuration/vpc-custom-loadbalanced.config
1. Will this work with non-default VPC?
will like to use custom VPC i created
2. Can i use an already created EFS volume?
instead of allowing EBS to create one for me?