Life is a stream of events
In a World that produces and depends on a data , there was a need for a platform to handle a continuous flow of data , Kafka is a streaming platform that lets you publish and subscribe to stream of data, store them and process them
Kafka has a number of core differences from traditional messaging systems that make. It runs as a cluster and can scale to handle all the applications in
even the most massive of companies.
Every enterprise is powered by data , Every application creates data, Every byte of data…
In this story, we are going to see how Kubernetes helps us in deploying our microservices and takes care of them.
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ gcloud config set compute/zone us-central1-b
2. Create k8s cluster
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ gcloud container clusters create binarymonster
3. Get the sample code
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ git clone https://github.com/googlecodelabs/orchestrate-with-kubernetes.git
4. Our first deployment
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ kubectl create deployment nginx --image=nginx:1.10.0
Kubernetes has created a deployment with single instance of the nginx container
In Kubernetes, all containers run in a pod. …
Create instance template, L3 load balancer and application Load balancer in-front of your web servers
Before we begin we need to setup the default zone and region on our gcloud shell
BinaryMonster@cloudshell:~ (gcp-Project-ID)$gcloud config set compute/zone us-central1-aBinaryMonster@cloudshell:~ (gcp-Project-ID)$gcloud config set compute/region us-central1
Instance Templates define the look of every virtual machine in the cluster (disk, CPUs, memory, etc). Managed Instance Groups instantiate a number of virtual machine instances using the Instance Template.
To create an instance template, we need a startup.sh script
Creating VM, K8s CLuster, deploy an application and expose the deployment.
In your Google Cloud Console, Click on Google Cloud Shell
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ gcloud compute zones list | grep us-central1
us-central1-c us-central1 UP
us-central1-a us-central1 UP
us-central1-f us-central1 UP
us-central1-b us-central1 UP
BinaryMonster@cloudshell:~ (gcp-Project-ID)$ gcloud config set compute/zone us-central1-cBinaryMonster@cloudshell:~ (gcp-Project-ID)$ gcloud compute instances create “binarymonster-vm-1” --machine-type “n1-standard-1” --image-project “debian-cloud” --image “debian-9-stretch-v20170918” --subnet “default”
NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
binarymonster-vm-1 us-central1-c n1-standard-1 10.128.0.2 22.214.171.124 RUNNING
Most applications run on servers. And in the past, we could only run one application per server. The open-systems world of Windows and Linux just didn’t have the technologies to safely and securely run multiple applications on the same server.
So every time the business needs a new application, the IT would go and buy the most powerful server they can get because most of the time nobody knew the requirements of the new application.
VMware changed the game when introduced the virtual machines, now you can securely run multiple applications on a single server.
DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale.
RedShift is a fast and powerful , fully managed , data warehouse service.
RedShift can be configured as follows:
RedShift can offer multiples types of compression and offers MPP ( massively Parallel processing which means it automatically distribues…
There are two types of Backups:
Whenever you restore either an automatic backup or manual snapshot, the stored version of the database will be a new RDS instance with a new DNS endpoint.
The encryption is done using the AWS KMS ( Key Management Service )
Multi-AZ: Allows you to have an exact copy of your…
Relational databases are what most of us are all used to , you can think of a traditional spreadsheet.
Examples of Relational databases on AWS:
RDS or Relational Database services has two key features:
Non-Relational Databases are a group of collections, the collection = Table, Document = Row and Key value pairs = fields
you can have as much as you want of fields per collection or row , but for the RDS you need to keep the consistency between the rows.
A Monster that wants to learn everything!