Kubernetes manages containerized applications across multiple hosts. With years of experience in managing highly scalable products, google has released kubernetes an open source project which manages containerized applications across multiple hosts. Kubernetes is actively developed with more than 700 active developers. Kubernetes can be setup over any cloud platform any os. Its is based on etcd which is a key value store that provides shared configuration and service discovery for clusters.
PHP7 is the latest version with lot of performance improvements and every one want to update their servers and code to it. Lets see how to configure one and host your code.
Here we see the combination of ubuntu, nginx, php-fpm, php7, and mysql.
Compared to LAMP stack LEMP is powerfull as we use Nginx as reverse proxy and static file serving in contrast to Apache server.
AWS lambda is handy tool for event driven computation, here we will learn how to configure and setup lambda function so to run our function which basically logs some data to dynamodb whenever a file is created in our s3 bucket.
There are many available ways of Docker clustering. Kubernetes, Docker cloud, Docker Swarm etc., In this Tutorial we will learn setting up a cluster using Docker Swarm and launch a container on Node.
GitLab Container Registry is a secure and private registry for Docker images integrated completely in Gitlab. In this tutorial we will setup and use GitLab Container Registry. If you're using previous versions of Gitlab upgrade and then follow this tutorial.
Accessing the EC2 instance even if you loose the pem file is rather easy.
1. First, create a new instance by creating new access file, call it 'helper' instance with same region and VPC as of the lost pem file instance.
2. Now stop the lost pem file instance. Remember not to terminate instance but to stop it.
Celery is a task queue that is to built an asynchronous message passing system. It can be used as a bucket where programming tasks can be dumped. The program that passed the task can continue to execute and function responsively.
To monitor the status of these celery tasks we use celery flower
The Celery Flower is a tool for monitoring your celery tasks and workers. It's web based and allows you to see task progress, details, worker status.
HTTP/2, next version of HTTP/1, http/1 can not handle the present web which has become more resource intensive, it cannot processes multiple requests in an efficient manner. HTTP/2 has got many techniques to harness the requirements of current web experience.
SPDY is the core part of HTTP/2 protocol, many of the http/2 protocol techniques are part SPDY.
This is a simple way to integrate gitlab authentication in your django apps.
We can get user verified email id, general information, git lab URL and token from Gitlab API.
These Following steps are needed for Gitlab integration:
1. creating git lab app
2. Authenticating user and getting an access token.
3. Get user information, git lab URL using an access token.
Python collections - Counter is to count the frequency of character, OrderedDict is to track the order of the contents in which they are added and defaultdict is to provide a default value for a nonexistent key for the dictionary element are explained with real time examples in part 2 of collections series.