Posts

Showing posts from October, 2019

AWS Training for Beginners - Day 6

Image
Previous posts in this series are  Day  1 ,  Day 2 ,  Day 3 ,  Day 4 , Day 5 Youtube video of this post - Day 6 Recap of Hands-on practised on Day 3, 4 and 5 AWS is an Ocean in itself. Try to get an overview of what we learnt so far and on the various AWS services. When you start as a beginner into AWS, use the first few weeks to understand more and more. And after that you can try specializing more into particular set of Services. AWS has various services. From a general perspective, focus here is to dwelve more into the following categories of AWS Services. Overview of AWS Services AWS Glossary - https://docs.aws.amazon.com/general/latest/gr/glos-chap.html Easy to remember slides from  https://www.slideshare.net/AmazonWebServices/getting-started-on-aws-awsome-day-2018 Understand the  High level view of AWS Services  (Slide 5) and quite easy to remember in this way.  VPC understanding   (Slide 25) and  Networking and VPC ...

AWS Training for Beginners - Day 5

Image
Previous posts in this series are  Day 1 ,  Day 2 ,  Day 3 , Day 4 Youtube video of this post - Day 5 In this post, let us get into a bit more depth on IaaS, Paas, Saas. SaaS and IaaS are only explained as an Information. Actual focus is towards PaaS. PaaS vs IaaS There are so many articles to dwelve deep into these concepts of Paas , IaaS, Saas, FaaS and many more. Below is a very basic way to differentiate  between On-premises, IaaS, PaaS, SaaS. Remember ending with 'S' means some sort of service in the Cloud. Cloud can be any of Google Cloud or AWS cloud or Microsoft Azure Cloud or Oracle Cloud or IBM BlueMix Cloud. https://www.bmc.com/blogs/saas-vs-paas-vs-iaas-whats-the-difference-and-how-to-choose/ Deploy a Python application in AWS Elastic Beanstalk (EB) Now run a Flask based python simple web application locally and then deploy to AWS Elastic beanstalk using AWS EB CLI. Follow the steps of https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-...

AWS Training for Beginners - Day 4

Image
Previous posts are Day 1 , Day 2 , Day 3 Youtube video of this post - Day 4 Hands-on with AWS Lambda and python application in AWS ECS In this post, focus is to provide glimpse of AWS Lambda (working of FaaS with a simple Python example) and of AWS ECS (Elastic Container Services) along with ECR using a Dockerized application of Python. AWS Lambda Getting Started Example We picked AWS lambda getting started with a sample from the AWS 10 minute tutorials From the above tutorials picked a Hello World Python AWS Lambda example, with a Blue print for easy understanding. And then follow the steps to create a Lambda function in an AWS region of your choice. And then while testing the AWS Lambda function, you can change the values in the Keys to get a glimpse. Getting with AWS ECS Now onto AWS ECR and ECS using a python + Flask web application, first local docker run and then deploy to AWS ECS ECR - Elastic Container Registry ECS - Elastic Container Services 1. Pre-requisites AWS accoun...

AWS Training for Beginners - Day 3

Image
  Previous posts in this series are Day 1 and Day 2 . Youtube video of this post - Day 3 AWS Hands-on   It's time to do some Hands-on.   If you do these steps and then remove the resources in AWS then the  overall cost incurred will be less than 1 USD. Create a free AWS account    ( linked with credit card usually)   And login to the  AWS console -  https://console.aws.amazon.com Understand AWS S3 with an example   Now next to try to understand a very common and easy AWS service - Simple Storage Service (S3)   S3 has buckets (similar to Folders in your computer). And we can control level of access.   Once we have public access enabled, S3 will provide a Public URL to access from anywhere. Created a bucket " aws -training-test-bucket-12345". This name is bit lengthy :) to maintain like a unique name across all buckets in S3; a rule imposed in AWS. Do a s imple test in Linux terminal. wget https://aws-training-test-bucket-...

AWS Training for Beginners - Day 2

Image
Continuing on the previous post..... AWS Training Day 1 Youtube video of this post - Day 2 AWS Storage Services Now lets get into Storage Services in AWS . S3 -- Storage limit of 5 TB in each bucket of AWS S3       with EBS support       development bucket       staging bucket       production bucket --- Can be used thumbnails, detailed page (more images, CSS ) in the context of an E-commerce portal Glacier -- Good for infrequent use of Data             retrieval time of few hrs            Cheap EBS - Named as persistent block store       Manage your data more efficiently. It is like having a Portable HDD.    Databases in AWS In your colleges , you might have seen a lot of Relational DBMS. Its ACID properties, SQL properties. Here focus is to give a glimpse of various Databases in AWS. More details of AWS documentation - https://docs.aw...

AWS Training for Beginners - Day 1

Image
Get an initial view about AWS in 6 days. Spend less than an hour per day. If you can spend a bit more effort, it will be much better. Youtube Playlist of these 6 videos has created. Youtube video of this post - Day 1 Day 1 Notes The context of these series of Posts is to provide an overview of AWS for beginners. AWS - Amazon Web Services AWS in simplicity means a host of services for managing applications, analytics and related for your Enterprise in the Cloud. This was a 6 day discussion. First two days focus on skimming the excellent slides in this article . It provides some overview about AWS to beginners theoretically. Elastic Compute Cloud (EC2) It is like having your own manageable system in the cloud. Linux/Windows/Macintosh -- any of the Operating System is possible to be used along with. There are many instance types available within EC2 General Purpose (t2, m4, m3) Compute Optimized (c4, c3) Memory Optimized (r3) Storage Optimized (i2, d2) GPU instances (g2) - Like ou...