Just trying to document how we move from 1 live server to a load balanced horizontally scaled architecture.
IAM - security Route 53 - DNS Key pairs - belong to an IAM user and are SSH keys. .pem Cloudfront - serves assets
Elastic beanstalk - for deploying and scaling
CodeDeploy - automates deployment
EC2 instance - virtual server (Elastic Compute Cloud)
EBS - Block Storage
S3 - File Storage
Just for spinning up VMs
Security on Virtual Private Cloud
Can also connect to on premise using hardware
Deploys, Manages and Scales.
You can tweak after.
To create and manage AWS resources.
Provisions based on a template (JSON file).
Defines what resources are required to run the application.
Or pre-built stack.
Coordinates deployment and updates across a fleet.
Dev machine has AppSpec file (application specific). Deploys to a Deployment Group.
- You can Auto Deploy to Auto Scaling Group *
Just creating a parallel environment before switching.
CodeDeploy with Auto Scaling
“When new Amazon EC2 instances are launched as part of an Auto Scaling group, AWS CodeDeploy can deploy your revisions to the new instances automatically”
Looking a this one:
Create EC2 instance
Stop instance. Auto scaling group.
Deploying code to an auto scaling group. Launch Configuration - bash script here could do a git pull?
Where do we start?
Maybe just do this
Tutorial: Set Up a Scaled and Load-Balanced Application
Don’t touch the current box.
1, Create a new box. 2, Use this to make an AMI. 3, Use this to setup a load balanced auto-scaling group.
Sessions Logs - central AWS thing? Code Deploy
AWS Technical Essentials
AWS Certified Solutions Architect - Associate
http://cantrill.io/certification/aws/2016/03/27/how-to-pass-AWS-certifications.html Udemy - Ryan
Google Play app Sorry forgot to tell you guys what it was: https://play.google.com/store/apps/details?id=com.ionicframework.awsquiz543924
Immutable - Mutable https://aws.amazon.com/answers/configuration-management/aws-ami-design/
set -e in Bash Scripts
How to handle database migrations
What can I do on Free Tier?
How to pull the code How to run database migrations - nothing to migrate?