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. Note, we’re also working to create an official AWS Marketplace AMI that will automate steps 3-7.
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.
$ sudo apt-get update && sudo apt-get upgrade -y
follow instructions, answer prompts, reboot if necessary
$ sudo apt-get install -y git puppet
follow instructions, answer prompts
$ cd /srv/ && sudo git clone https://github.com/Automattic/vip-quickstart .
tip: don’t forget the “.” at the end, or adjust your paths accordingly
$ 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: staging.yourdomain.com) 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 WordPress.com, you can set
define( 'JETPACK_DEV_DEBUG', false ) in
Your cloud based VIP Quickstart staging environment is now ready. Our next guide will show how to get your production theme and content loaded into your staging environment.