- Evan Brown - @evandbrown
- @aws_eb
- The AWS Application Management Blog - http://blogs.aws.amazon.com/application-management
- Dockerizing a Python Web App - http://blogs.aws.amazon.com/application-management/post/Tx1ZLAHMVBEDCOC/Dockerizing-a-Python-Web-App
- A PHP Sample App - https://github.com/awslabs/eb-demo-php-simple-app/tree/docker-apache
- A Python Sample App - https://github.com/awslabs/eb-py-flask-signup/tree/docker
- 5-Part Blog/Hangout Series - Develop, Deploy, and Manage with Elastic Beanstalk - http://blogs.aws.amazon.com/application-management/blog/tag/DDMSeries
- Dockerru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
imports: | |
- path: manynodes.jinja | |
resources: | |
- | |
name: manynodes | |
type: manynodes.jinja | |
properties: | |
image: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/debian-8-jessie-v20150818 | |
region: us-central1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls *.json | \ | |
sed -e 's/\.json//' | \ | |
while read x; do \ | |
ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < $x.json > $x.yaml; \ | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
git tag | while read line; do | |
git archive --format=zip $line > release/${PWD##*/}-$line.zip | |
echo “Created release/${PWD##*/}-$line.zip” | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Implementation of a UDP proxy | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM dockerfile/java | |
# Assumes your-app.jar is in the same dir as Dockerfile when you do a `docker build .` | |
ADD your-app.jar /src/ | |
# Also assumes your app exposes port 8080 | |
EXPOSE 8080 | |
# Run it! | |
CMD ["java", "-jar", "/src/your-app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
AWSEBAutoScalingLaunchConfiguration: | |
Type: AWS::AutoScaling::LaunchConfiguration | |
Properties: | |
AssociatePublicIpAddress: true |