Skip to content

Instantly share code, notes, and snippets.

View j-mprabhakaran's full-sized avatar

Prabhakaran Jayaraman Masani j-mprabhakaran

  • Chennai, Tamil Nadu, India
View GitHub Profile
@j-mprabhakaran
j-mprabhakaran / GCP-Architect-QuickNotes
Created March 30, 2019 05:39
GCP-Architect-QuickNotes
The access pattern fits Nearline storage class requirements and Nearline is a more cost-effective storage approach than Multi-Regional.
The object lifecycle management policy to delete data is correct versus changing the storage class to Coldline.
Google Cloud Storage supports Multi-Regional buckets that synchronize data across regions automatically.
Google Cloud SQL instances are deployed within a single region.
Google Cloud Bigtable data is stored within a single region.
Google Cloud Datastore is stored within a single region.
Using a shared VPC allows each team to individually manage their own application resources, while enabling each application to communicate
between each other securely over RFC1918 address space.
@j-mprabhakaran
j-mprabhakaran / gist:2993ea834bb54b2e03bcb64d0034f5a5
Created January 20, 2019 10:24
GCP Cloud Architect - Part 3
GCP Cloud Architect - Part 3
Case Studies
Refreshed Nov 9th 2018; JencoMart completely dropped
Overview - 3 case studies; 40-50% on the exam; Question on one side, Case study on other side
Layout of Case study - 1.Company Overview 2.Solution concept - current goal 3.Existing Technical Env 4.Requirements(Tech/Business) 5.Executive statement
Mountkirk Games
Dress4Win
TerramEarth
Mountkirk Games
Dataflow lifecycle
migration concerns from migrating from on-premises over into google cloud
code snippet to troubleshoot and diagnose
Part 2 - Hands-on with tools
Role of Cloud Architect
plans, designs and builds the infrastructure for an org to host their workload on GCP; able to plan to scale;
scalability and automation
@j-mprabhakaran
j-mprabhakaran / GCP Architect Part-1
Created January 16, 2019 12:50
Google Certified Cloud Architect Part 1 Notes from Linux Academy
Google Certified Professional Cloud Architect - Part 1
======================================================
GCP Overview
Google's suite of cloud computing services; run on same infra and network as google
Compute -> App Engine, Container Engine, Compute Engine
Storage -> Bigtable, Cloud Storage, Cloud SQL, Cloud Datastore
Big Data -> BigQuery, Pub/Sub, Dataflow, Dataproc, Datalab
Machine Learning -> Vision API, Machine Learning, Speech API, Translation API
https://cloud.google.com/pricing
Per second pricing for instances;Private Global Fiber network;Live migration of VMs;Better performance;Industry leading security;access to innovative resources(Big data,ML)
@j-mprabhakaran
j-mprabhakaran / Docker-Installation
Last active April 19, 2018 15:34
Docker-Installation
sudo yum install -y docker
sudo systemctl start docker.service
sudo systemctl enable docker.service
sudo usermod -a -G docker ec2-user
sudo usermod -a -G docker jenkins
@j-mprabhakaran
j-mprabhakaran / Jenkins-Installation
Created April 19, 2018 15:12
Jenkins-Installation
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
sudo yum install -y jenkins
sudo systemctl start jenkins.service
sudo systemctl enable jenkins.service
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
@j-mprabhakaran
j-mprabhakaran / Java8-Installation
Last active April 19, 2018 14:42
Java8-Installation
# Install Java 8u172
#####################
cd /opt/
sudo wget -c -O "jdk-8u172-linux-x64.tar.gz" --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u172-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172-linux-x64.tar.gz"
sudo tar xzf jdk-8u172-linux-x64.tar.gz
cd /opt/jdk1.8.0_172/
sudo alternatives --install /usr/bin/java java /opt/jdk1.8.0_172/bin/java 2
sudo alternatives --config java
sudo alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_172/bin/jar 2
sudo alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_172/bin/javac 2
@j-mprabhakaran
j-mprabhakaran / AWSDevOpsExamTips
Last active May 28, 2022 01:25
AWSDevOpsExamTips
Autoscaling.
◾Understand autoscaling inside and out.
◾Make sure you know the differences between deploying with and without Cloudformation (as there are some deployment methods you can do with Cloudformation that you can’t without) and the command or JSON syntax to perform them.
◾Understand lifecycle hooks and the autoscaling stages they run in
◾Understand launch configurations and how they work and are updated (hint: You must replace them)
◾Understand why you may need to place an instance into STANDBY state
•Elastic Beanstalk.
◾You’ll need to know this to an advanced level.
◾Understand what stacks Beanstalk supports natively and how you would deploy a stack it doesn’t (hint: Use Docker).
@j-mprabhakaran
j-mprabhakaran / AWSPointsToRemember
Created April 15, 2018 11:53
AWSPointsToRemember
1. In AWS batch, you are able to specify minimum, maximum and desired number of CPU's.
2. Amazon EBS-backed EC2 instances boot faster than instance store-backed instances.
3. The operating system offered in Amazon Light sail are Amazon Linux and Ubuntu.
4. AWS Elastic beanstalk is used to spin up infrastructure that is both externally facing and internally facing.
5. SSD-backed Amazon EBS gives you low latency.
6. AWS can only create latency record sets in the AWS region, not in customer location.
7. The only routing protocol that AWS Direct Connect supports is BGP.
8. A private VIF is the logical interface between your on-premises network and AWS resource located in VPC.
9. Cloud front will forward a file to a user as soon as it get it's first bytes. It does no error checking.
10. Origin access identity (OAI) is used to restrict access to your Amazon S3 content.
@j-mprabhakaran
j-mprabhakaran / AWSDevOpsStudyNotes
Last active May 28, 2022 01:25
AWS DevOps Engineer Professional Study Notes
CI & CD:
========
2 core software development processes
CI process of automating regular code commits followed by an automated build and test process designed to highlight intergration issues early.
Additional tooling and functionality provided by Bamboo, CruiseControl, Jenkins, Go and TeamCity etc.
workflow based
CD takes the form of a workflow based process which accepts a tested software build payload from a CI server. Automates the deployment into a working QA, Pre-prod or Prod environment.
AWS CodeDeploy and CodePipeline provide CI/CD services
Elasticbeanstalk and CFN provide functionality which can be utilized by CI/CD servers.