Select Page

How to configure ansible dynamic inventory on AWS

How to configure ansible dynamic inventory on AWS In this topic, we will discuss how to configure ansible dynamic inventory on EC2 AWS. For that, you should download two files: ec2.ini – configuration file where you can specify some properties. ec2.py –...

Monitor applications on EC2 instances using Lambda functions

How we can monitor application that runs on EC2 and reboot it if health check is down using Lambda Python code Use Case: We have applications based on EC2 instances, for example, 5 EC2 instances with the same version of applications. In these instances, developer runs...

SFTP Lambda with static IP address

Build Lambda SFTP client with S3 integration In this article, I’ll explain how we can build a client for SFTP server using Lambda. It’s a secure environment, also lambda has a static IP address. A brief view of infrastructure: We have an S3 bucket, and...

Jenkins pipeline for Kubernetes environment

Jenkins pipeline for Kubernetes How Jenkins pipeline should look for Kubernetes? There need to use just simple blocks where the declaring agent should be executed and what image we want to use. Nodes can be defined in a pipeline and then used, however, default...

Deploy HA Vault & Consul cluster on AWS environment

HA cluster Vault with Consul on AWS In this article, we’ll deploy Vault with Consul as store backend on AWS. Vault using as manager of your secrets (passwords, tokens, secret data). Also, Vault provides a secret way to store and use this data. Consul used as...

Kubernetes Exercise #5: Deployments

Exercise InstructionsSolution Here is some yaml for an nginx deployment: apiVersion: apps/v1beta2 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name:...

Kubernetes Practice Exam

Exercise InstructionsSolution 1. Create a job that calculates pi to 2000 decimal points using the container with the image named perl and the following entry point to the container: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] Once the job has completed, save...