Documentation VIP Quickstart Creating A Staging Server On Amazon Web Services Using VIP Quickstart

Creating A Staging Server On Amazon Web Services Using VIP Quickstart

Creating a staging server on Amazon’s AWS (other UNIX like hosting platforms should work similarly…in concept) using VIP Quickstart is fast and easy, assuming you have have some basic familiarity with Linux/CLI and DNS.

1. create a new AWS EC2 instance– this guide was tested with AWS Marketplace Ubuntu 12.04, but may work with other OS’es/versions.

2. ssh into your new EC2 instance using the keypair you setup in step 1 – tip: your ssh command will probably look something like:
$ ssh -i path/to/keyfile.pem ubuntu@public-address-of-aws-instance

Note: the permissions on your key file will need to be set to rw for user only.

3. $ sudo apt-get update && sudo apt-get upgrade -y
follow instructions, answer prompts, reboot if necessary

4. $ sudo apt-get install -y git puppet
follow instructions, answer prompts

5. $ cd /srv/ && sudo git clone .
tip: don’t forget the “.” at the end, or adjust your paths accordingly

6. $ sudo /srv/bin/vip-init --server --domain=FQDN
tip: replace FQDN with whatever addressable FQDN you want to reach your Quickstart install at. You may wish to use a distinct “staging” URL (eg: here, OR use your production URL and toggle between staging/production via an /etc/hosts setup.

7. modify your AWS “Security Groups” settings to allow http (port 80) traffic

8. assuming you’ve configured either public facing DNS or private routing (eg: /etc/hosts/ or equivalent) you should be able to reach your site at the FQDN you specified in Step 6 above

To connect Jetpack to, you can set define( 'JETPACK_DEV_DEBUG', false ) in local-config.php.

Your cloud based VIP Quickstart staging environment is now ready. Learn more about how to get your production theme and content loaded into your staging environment.

Documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.