Skip to content

Instantly share code, notes, and snippets.

@twoism-dev
Created July 20, 2012 11:58
Show Gist options
  • Select an option

  • Save twoism-dev/3150349 to your computer and use it in GitHub Desktop.

Select an option

Save twoism-dev/3150349 to your computer and use it in GitHub Desktop.
Simplest EC2 deploy

Server manifesto

Provisioning + Deploying is too complicated, lets do the minimum amount of work to build a safe, performant server. The following opinionated rules are followed:

  • Applications have their own user and group.
  • Environment variables are used for app configuration

System update

apt-get update Updates apt-get's local database with server's pkglist's files.

Git install

apt-get -y install git-core Install git using apt-get, the -y argument means say yes to any questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment