Let’s keep this simple and precise, as a developer, you cannot have your workplace everywhere, with an increase in the cloud project repositories such as Github and Bitbucket which however requires you to have an access to an IDE or a shell in order to sync your file which can be of a hassle for some.
This is where your private Cloud IDE comes into play and is very useful if you have a budget server such as mine and a fair amount of bandwidth.
A small excerpt from Wikipedia regarding the Web integrated development environment might clarify my words better.
A web integrated development environment (Web IDE or WIDE), also known as cloud IDE, is a browser based IDE that allows for software development or web development. A web IDE can be accessed from a web browser, such as Google Chrome or Internet Explorer, allowing for a portable work environment. A web IDE does not usually contain all of the same features as a traditional, or desktop, IDE, although all of the basic IDE features, such as syntax highlighting, are typically present. (Source)
I’ve been using my private cloud IDE for a while and as a newbie, I can already see the pros-&-cons.
Yes, there are many online cloud IDE which provide you with a free workspace with fair amount of hardware specification. Some are listed below and you can check it out yourselves.
Some popular Online IDE List
I listed one of the popular ones that the Google considers and the ones that I’ve tried and liked. If you are planning on using cloud IDE for educational purposes then I would say, self-hosted Cloud IDE is cheaper.
Some Pros and Cons
- You can have unlimited amounts of private workspaces while the official ones charge you just for the amount of workspaces you can create.
- No problems with the server’s hardware specifications! Although what kind of server you wish to use is your decision, you can save lots of money just by using a NATed-Budget VPS. You will need a domain and a reverse proxy port setup. Head over to lowendbox or lowendstock.
- Your group, your projects and your permission. All the accesses and privileges can be controlled.
- You manage the server which means the Cloud IDE features might not be 100% functional.
- As you will be using community based open-source, you will not be up-to-date and your problems will not be prioritized compared to the ones who bought the service.
I therefore decided to use Cloud9 IDE (Open Source) as my private IDE in CentOS 6.
Preparing for the Cloud9 Installation.
- Python 2.7.+ and included in your environment variable
- Forever (Alternative to Screen)
- Clone the source
Installation should be simple & easy as.
If the process of your installation was clean and simple, you should be able to see the output in the end with a confirmation of the server setup and the URL with trailing port number where the IDE can be accessed.
Port number is not that important if you are trying to keep your IDE private. The default port it is using right now for me is
:8181 therefore I added a new iptables rule to allow traffic to come to port
:8181 without any disturbance.
You can simply run your cloud IDE via.
username:password is for the IDE access, looks like a
I did not bother configuring the reverse proxy port with my domain or a subdomain as for now, you can access it via.
C9/Core Github has provided with the launch parameters for our ease.
Thing I learned -
If you ran the server regularly with no special parameters, I suggest you to create a directory inside
./core with the name
Workspaces and launch the server again with the following command to have a better and clean directory to work in.
Enjoy & Happy Coding!