Thursday, April 7, 2016

How to manage traffic with Elastic Load Balancing

Distributes application traffic over multiple EC2 instances.
  1. Knowledge
    1. Load balancing is the process of ditributing a large amount of traffic to multiple servers.
    2. Without load balancing, certain application servers would fail, while others go under utilized.
  2. Strategy
    1. The first step is to define the load balancer within AWS.
    2. Next, assign security groups to the load balancer.
    3. Then. configure health checks for the EC2 instances.
    4. Finally, tag, verify and create your new load balancer.
  3. Execution

Wednesday, April 6, 2016

How to deploy applications with Elastic Beanstalk

Easy to begin, impossible to outgrow.
  1. Knowledge
    1. Elastic Beanstalk is a Amazon Web Service for deploying and hosting software applications.
    2. If this sounds like Heroku, your intuition is correct.
  2. Strategy
    1. Here's a tutorial specific for deploying a Django application.
    2. Setup a python environment with Django.
    3. Create a Django project.
    4. Configure the app for Elastic Beanstalk.
    5. Deploy with the EB CLI.
  3. Execution
    1. Common issues:
      1. Powershell ExecutionPolicy
      2. EB CLI Could not find any platforms
      3. Server 404 response after deploy