department-of-veterans-affairs/roadrunner-devops

Name: roadrunner-devops

Owner: Department of Veterans Affairs

Description: Starter project for automating deployment of a roadrunner-rails (Rails + rbenv) application to AWS

Created: 2016-06-01 16:12:35.0

Updated: 2016-06-01 16:12:35.0

Pushed: 2016-09-15 19:50:35.0

Homepage: null

Size: 20

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Roadrunner DevOps

Starter project for automating deployment of a roadrunner-rails (Rails + rbenv) project in two steps:

  1. Automates installation of an application to an instance (local Vagrant, EC2, or any other system).
  2. Automates deployment of application instances to the AWS cloud environment by creating a production-ready AMI image.
What You Get: Overview
Quickstart: Vagrant

Deploy a roadrunner application to Vagrant instance(s). Prerequisites:

To verify,

  1. reboot an instance
  2. SSH into the instance
  3. Verify Rails is running on desired port (or visit forwarded port on localhost)
rl localhost:3000
CTYPE html>
l>
ead>
<title>Ruby on Rails: Welcome aboard</title>
.
.
Quickstart: AWS

Create an AMI image of a roadrunner application. Prerequisites:

sible-playbook -i localhost, deploy-to-aws.yml --private-key [PATH TO YOUR KEY]
Customization

This project deploys a sample Rails application but the conventions can be used on any application:

  1. Configure base OS: centos role
  2. Install and configure dependencies: ruby
  3. Assemble application artifacts: git and rails-build
  4. Configure application: process
What You Get: Details
Step 1: Install application on target instance Step 2: Deploy instance to cloud environment
Resources

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.