Here we are taking the configuration file of Jupyter network.
Devops
Docker Environment variable
Mysql: MYSQL_ROOT_PASSWORDMYSQL_DATABASEMYSQL_USERMYSQL_PASSWORD WordPress: WORDPRESS_DB_HOSTWORDPRESS_DB_USERWORDPRESS_DB_PASSWORDWORDPRESS_DB_NAME
Docker File
FROM: It defines the build image to start the build process. It’s the fist command declared inside the Dockerfile. FROM ubuntu MAINTAINER: Author details of the docker file RUN: It takes the command as argument and runs it from the…
Ansible playbook for file transfer
Docker Swarm
Run the following command to initialize docker swarm. root@ip-172-31-91-97:/home/ubuntu# docker swarm init –advertise-addr 52.203.29.219 Swarm initialized: current node (zhqxor0uw79okh8thcm6boj0o) is now a manager. To add a worker to this swarm, run the following command: docker swarm join –token SWMTKN-1-105nukjje4l0yys14czxrpma8a2cxy1xx2y2n09u490pw1ve4i-4faqsr4p0hrjofywizcp04c6r 52.203.29.219:2377…
git commands
Some important git commands. git initgit add name-of-filegit add -aGit commit stores the changes made to the file in the local repositorygit commit -m “message” git status git config –global user.name “Arunlal”git config –global user.email emailaddress@gmail.com git branchgit branch newbranchgit checkout…
Nginx installation using Ansible Playbook
—- hosts: test-server gather_facts: yes connection: ssh tasks: – name: install nginx yum: name: nginx state: latest – name: enable and start the nginx service service: …
Ansible
Ansible is a simple automation language used for software provisioning, configuration management and application deployment. ad-hoc task-execution, and multinode orchestration. It’s a simple automation language that can easily be understood by everyone and there are no special skills required to…
AWS Kinesis
It’s the place where AWS pushes your streaming data to Kinesis. It loads and analyzes the streaming data for building custom applications for your business needs. Types: 1) Kinesis Streams : It’s the place to store the data by default.…
NAT Gateway vs NAT Instance
Private subnet in the VPC will not be able to directly communicate with the internet. While connecting your private subnet to internet Nat Gateway and Nat instance comes into the picture. NAT Gateway is highly available gateway as one NAT…