# To Do ~~Finish S3 config for env vars~~ ~~Deploy to AWS and ensure vars are working~~ ~~Use cloudformation to deploy bucket instead of tieing it to the RDS instance.~~ Use for bucket options for the template. ~~Strapi documentation - build and host~~ ## RDS Cloudformation Use to create an RDS for ELB. - RDS cloudformation template - Use the GUI to go through options and create cloudformation template - Create an RDS db before deployment - Configure Strapi to use this RDS db - VPC + Security Group needs creating in template Compare the `--database option` to without and make sure you create everything in the Cloudformation template. Look at how to have multiple environments in the same elb app Deploy strapi as load balanced rather than single instance Deploy strapi with a custom domain with HTTPS as a single instance + load balanced. Combine ELB Documentations (strapi, ELB etc) Use codebuild to update strapi Use circle CI instead Finish the backgrounds for the demo website Cloudformation template to deploy an S3 bucket ## Links Decouple an exisitng RDS instance from ELB to RDS: 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