Recent Posts by Christopher Rigor

DevOps Support Manager, Asia-Pacific at Engine Yard. Organizer of @RubyConfPH. Speaker. Interested in automation, Kubernetes, Docker, Deis, ops, Ruby.
Find me on:

Running Rails in AWS Elastic Beanstalk [Tutorial]

This tutorial shows you how to deploy a Rails app on AWS Elastic Beanstalk. This is part of a series on Running Rails in AWS.

Read More

Running Rails on AWS: Know Your Options

In this post, I'll outline four basic options for running Rails on AWS and provide the details to help you decide which is best for your situation.

This is an overview of running Rails on EC2, Elastic Beanstalk, EC2 Container Service, and Engine Yard. More technical posts with code samples are coming next.

Read More

7 Completely Legal Rails Performance-Enhancing Techniques

Is your app bogging down under the weight of increased traffic? Read this post to find out how to boost Rails performance and turn your app into Usain Bolt.

You may have to follow a few of the items listed here or all of them. Before you make any changes, make sure you identify the problem correctly and measure your application's response time. An improvement in the response time tells you that your changes are correct.

Read More

New AWS Feature: Expanding VPCs

Amazon announced on August 29, 2017 that customers can now expand existing VPCs.

New AWS Feature

AWS customers can add up to 4 secondary CIDR blocks to an existing VPC. AWS cites two benefits of this new feature. First, customers can launch more resources (eg EC2 instances) in their VPCs on-demand. Second, customers don't have to over-allocate private IPv4 space when creating VPCs since you can add more in the future.

Read More

Customer Stories: Resolving a Deploy Issue Due to Load Error

The following post is about a Support ticket recently filed by a customer. And how Engine Yard Support saved the day!

Read More

AWS Image Storage with S3 and EFS: A Rails How To

A typical Rails setup in AWS contains multiple EC2 instances running your application. Your database is in RDS or installed on another EC2 instance. When users upload images, you can't save the files locally. The images have to be stored in a location where all the EC2 instances have access.

Two AWS services that we can use are S3 and EFS.

Simple Storage Service (S3)

S3 is an object storage service from AWS where you can store a massive amount of data easily. You pay per GB of storage without any minimum. It's used by Netflix to store billions of hours of contents and by Airbnb to store 10 petabytes of user pictures. You never have to worry about capacity planning. They'll always have room to store your images.

Read More

Using jQuery with Rails: How To

JavaScript allows you to update HTML without reloading the page. This makes the interaction with your website faster as you only need to upload some parts of the page instead of the whole page. jQuery is a popular JavaScript library used by a lot of developers regardless of the language or framework used.

Read More

Chef Wrapper Cookbook on EY Cloud

Chef wrapper cookbooks allow reuse of chef code without having to copy the whole recipe. The focus of this post is using this pattern on Engine Yard Cloud.

Read More

Encrypted Rails Secrets on Rails 5.1

Rails already provides a way to handle secrets. This has gotten better in 5.1 with the introduction of encrypted secrets. Find out how to use this feature and what you need to change on your current Rails application.

This post comprises of the following sections:
Secrets Without Encryption
Encrypted Secrets
Reading the Secrets
Advantages of Encrypted Secrets
Managing the Key
A Note on Secret Key Base

Read More

Subscribe Here!