Solved

Setting up staging and versioning?

Posted on 2014-01-24
2
273 Views
Last Modified: 2014-01-28
hi guys,

we're a start up company and have hosted our servers in the Amazon cloud. I am working on the infrastructure. The site is mainly coded in php/html and javascript. And this is all on an EC2 server (i.e. a Linux server)

We only have one web server and a development server (windows 2008) on this cloud.

The developers need a staging environment and a versioning system.

I'm new to creating such an environment. Are you able to guide me or be able to give me some tips, but in lamen terms, as to what the best way to proceed with setting up with a staging environment would be and what tools you would use for versioning?

How would you go about setting up the staging? Would it just be another linux server that is a duplicate of the live one, but with a hidden public IP so it can be tested?

And about the versioning? I'm utterly new to that, never done anything with that.

Any ideas, would be fantastic.

Thank you
Yashy
0
Comment
Question by:Yashy
  • 2
2 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39806237
For version control: Get a bitbucket account and create a repository.  You will go through a lot of steps, learning Git and learning the terms like clone, fork, pull, etc.  Don't expect to master it in a day, but with a week of practice you will know it well.  There is also this article by one of our colleagues at EE that explains a lot of the concepts and terminology:
http://www.experts-exchange.com/Software/Development/Management_Debug/Version_Control_CVS/A_12235-Git-101.html

For staging and testing you might find that a separate subdomain is a good way to go.  For example, you could have site.com and test.site.com and stage.site.com.  Each of these instances has its own purpose.  The host can help you set up subdomains.  On my web server, my subdomains have different directories inside the public_html folder.

The QC process from test to stage to full deployment will undoubtedly require several unit and integration tests.  To the extent that you can automate these tests, do so.  It will pay you big dividends and create an environment of continuous integration, allowing for many small steps in the development cycle, instead of one giant leap.

You will also want to automate a "build" process that rolls the latest versions from the developers' repositories into the test domain or the stage domain.  This process will replace everything with the goal being that after a stable test or stage domain is loaded with code and the data model, the automated unit and integration tests can be run immediately to isolate any issues.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39816219
Thanks for the points and good luck with your project, ~Ray
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now