Smart Container Orchestration within the Cloud Platform. Part1: Installation
This blog is part of our ongoing series on Docker® containers. Previously we’ve already described the main features that make containers a production-ready solution for your applications and provide a set of benefits for the project. And today, we’d like to focus on container orchestration within our cloud platform.
The current IT market has a rather wide choice of container orchestrators that appeared during last couple of years. A user simply needs to choose what issues they want to solve and what aspects they want to cover while choosing an ideal solution. So let’s consider what you get with Jelastic orchestrator that works with containers since 2011 as we’ve already had time to polish the implemented features and we have the required expertise.
All necessary services and tools are provided out-of-the-box to manage your container right from the admin panels for developers and cluster administrators:
- Automatic vertical and horizontal scaling
- Application lifecycle management and
- Clustering and high availability
- Tunable load balancing
- Patches and updates
- Pre-defined or custom load triggers and alerts
- Tracking statistics and logs
- Built-in business analysis tools
Docker® Container Installation
Docker® containers were integrated to both the environment topology wizard and Jelastic’s Marketplace dashboard section. By default, it includes the list of existing templates, available at the public Hub Registry.
Note: that the stacks for Java, PHP, .Net, Ruby, Python and Node.js are available by default in certified containers within the Jelastic platform alongside Docker® implementation. They provide more automation and a wider range of features. If any significant adjustments of stack configurations are not required, we highly recommend using the certified containers that are provided by Jelastic.
In addition to the numerous templates available within the official Hub Registry, Jelastic gives you an ability to add your own private or public template from the Custom Registry Hub (e.g. CoreOS Enterprise Registry Hub). As a result, they will be listed alongside the default ones.
Installing the desired software can be done just in a few clicks – find the required template, choose it to be deployed and specify the preferable name of your new environment (or apply the template addition to the existing one).
In a few minutes, you’ll see your environment contains a new container with the chosen template(s) deployed. Each template represents an independent and isolated Virtuozzo container with full root access provided via SSH.
You can Open each container in a browser with the corresponding button next to it or the most recently added one, when selecting the same button for the whole Docker® section.
that not all templates have the web-server running out-of-the-box to provide the graphical user interface, thus you’ll get the 502 application down error while trying to access such a container through browser. However that doesn’t mean this image is incorrect or corrupted. If you’d like to ensure the necessary service is really working, check the running processes inside a container using the SSH
connection. In this way, you can also make any additional configurations to the container.
Docker® Container SSH Access
The containers don’t have the default management GUI and thus you need to use the SSH protocol for these purposes. Once you’ve entered your container, you can perform any required configurations, thanks to the full root permissions granted.
The connection can be established in two ways:
- through the Jelastic SSH Gateway as for any other environment. The flow will be the following:
- or, if you don’t want to use SSH keys, you need to attach the public IP address to the required node and perform the next steps:
- Open your terminal emulator.
- Enter the ssh [username]@[hostname] string, where the username is your login, and hostname is the Public IP address (you receive these credentials via email every time a new container is created or added to the environment).
- Specify the requested password (can be found in the email also).
Note: If you’ve faced any problems while establishing the connection, check the firewall rules for your container and ensure it has the openssh server running.
In case you’ve forgotten your container’s credentials or lost/deleted the appropriate email, you can restore them at any time. Simply click on the Reset password button next to the necessary node and you’ll receive a new password via email (or use this option for the whole set of instances in order to renew all of their credentials at once).
Developers can easily host and manage all types of applications or services, within a wide choice of data centers around the world with Jelastic installed on top. Jelastic with integrated Docker® standard allows the hosting companies to provide their users with continuous application delivery, fully elastic scalability, integrated orchestration and management for hosting applications in the cloud. Go ahead and try this yourself.
In the second part of this blog series about container orchestration, we’ll share the information on how to link the containers in the clusters and change any other settings inside your containers, directly through the Jelastic dashboard. So stay tuned!
5 Key Features to Make Containers Reliable for Production Applications
Multi-Containers Orchestration with Live Migration and High-Availability for Microservices in Jelastic
Containers for Business. How to Make Money on Containers?
Webinar Roundup – Multi-Containers Orchestration with Live Migration and HA for Microservices