Home » Tag Archives: Amazon AWS

Tag Archives: Amazon AWS

Service Resources for Your Terraformed Docker Environment

In Part II of this series, we defined and applied our shared infrastructure. Today we’ll continue where we left off and define an actual Docker service to run on that infrastructure. Service Resources Declaration To keep this tutorial as simple as possible, for my service I am just going to run a web interface for the RDS database instance. This ...

Read More »

Shared Resources for Your Terraformed Docker Environment on AWS

In Part 1 of this series, we laid the groundwork for Terraforming infrastructure on Amazon. Today we’ll define our actual infrastructure consisting of networks, servers, etc. Have fun! Shared Resources Declaration Since our service depends on underlying resources like the VPC and EC2 instances, we’ll create the shared environment first. Make sure you’re in the my-terraform-environment/shared/ folder before proceeding. We’ll ...

Read More »

Terraforming Your Docker Environment on AWS

Over the past couple of years, I’ve been using Amazon’s EC2 Container Service (ECS) to run our Docker applications. I’ve been mostly happy with the service and after working through all the hurdles of getting started, I’m pretty comfortable running multiple ECS clusters with dozens of services spread across several VPCs. While Amazon lowers the barrier to entry for cloud ...

Read More »

AWS Lambda: Programatically scheduling a CloudWatchEvent

I recently wrote a blog post showing how to create a Python ‘Hello World’ AWS lambda function and manually invoke it, but what I really wanted to do was have it run automatically every hour. To achieve that in AWS Lambda land we need to create a CloudWatch Event. The documentation describes them as follows: Using simple rules that you ...

Read More »

AWS Lambda: Encrypted environment variables

Continuing on from my post showing how to create a ‘Hello World’ AWS lambda function I wanted to pass encrypted environment variables to my function. The following function takes in both an encrypted and unencrypted variable and prints them out. Don’t print out encrypted variables in a real function, this is just so we can see the example working! import ...

Read More »

AngularJs 2 Series: Deploy Your Application on AWS S3

Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that you have the necessary AWS account and able to access the S3 service. The application we are about to deploy will be simple and static in nature and there will be no server side code. ...

Read More »

Setting Up Deployment for AWS CodeDeploy and AWS Elastic Beanstalk

In the second post of this series, we continued with a quick tutorial on deploying new Docker images to Amazon’s EC2 Container Service with Codeship. We’ll wrap things up with a discussion about the similarities and differences of Amazon’s Elastic Beanstalk and CodeDeploy. So, we’ve seen how to deploy Docker images to ECR, but what about Amazon’s other non-Docker code ...

Read More »

Deploying Docker Images to Amazon EC2 Container Service

In the first post of this series, we discussed how to set up continuous deployment to AWS for your Docker apps using Codeship. We’ll continue with a quick tutorial on deploying new Docker images to Amazon’s EC2 Container Service. Over the past few years, the use of container technology like Docker has grown dramatically within organizations of all sizes, which ...

Read More »