Deploy PHP Apps on AWS Beanstalk & Deploy with Git

  • 2,159 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,159
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. AWS Elastic Beanstalk
  • 2. What is AWS Elastic Beanstalk? Easy way to deploy and manage applications on AWS. Automatically provisions ELB, Auto Scaling, and CloudWatch. Easily snapshot application logs from EC2 instances. Receive email notifications through SNS for application health changes. Open platform with access to underlying resources Manage configuration settings in a single place for:  Switching instance types  Running in multiple AZ  Turning on HTTPS  Providing a JDBC connection string  Etc…
  • 3. How Does AWS Elastic Beanstalk Work? yourApp.elasticbeanstalk.com Amazon Route 53 Hosted Zone Elastic Load Balancer Amazon EC2 Instances AmazonCloudWatch Alarms Web Web Server ServerAmazon SNS Host Amazon S3Notifications Manager Bucket Auto Scaling Group AZ-1 AZ-2 Region
  • 4. Launching a PHP Application Let’s demo!
  • 5. What we will show: AWS Management console Launch initial application Launch dev environment Push out some code Launch production environment Look at how we can customize Make our application highly available!
  • 6. Key Features Tomcat 6 & 7, PHP IAM support – for controlling access to Elastic Beanstalk resources Configuration settings across EC2 fleet:  AWS credentials (to connect to DynamoDB)  Database connection strings (to connect to RDS)  Common web server or app server settings Auto Scaling UI Save Configuration – for persisting golden set of settings Swap URL – for deploying or updating with minimal downtime
  • 7. Best Practices Deploy production workloads to at least 2 AZ. Load test application prior to launch to understand bottlenecks. Inject IAM credentials through Elastic Beanstalk Inject JDBC connection strings through Elastic Beanstalk Terminate SSL connections at the ELB Create a custom AMI for use with Elastic Beanstalk
  • 8. Questions? Talk to us after the show!