SlideShare ist ein Scribd-Unternehmen logo
1 von 57
Azure Services for the
Containers
By : Vishwas Narayan
So now they had questions on the monolithic architecture
1. How can we put the softwares update on the cloud.
2. If we ghost the server how to create a data recovery?
3. On making the updates how to rerun the instances?
4. After running how to get the customers back for the working?(as both the
software and hardware was updated)
5. After releasing how to document it?
6. What software dependency can be used later?
Then came the SOA (Service Oriented Architecture)
1. How to make the people know the potential of the hardware that they are
using?
2. How to make the engineers learn the networking?
3. What if the security goes wrong?
4. What if the users don't know how to deploy the application?
So now when everything became coarse grain what next?
Ease the developer to just look at the business problem statement and the
cloud thus microservices came in.
All lead to some nice questions and they were getting
solved and then what
Agenda
● Containers Introduction
● Container commands
● Building a Dockerfile
● Containers on cloud
● Scaling containers apps on the cloud - Kubernetes
● Q&A
Containers Introduction
All of it started as a problem statement to make life easier
Lot of questions that they asked?
● When to pach
● When to create a backup
● When to upgrade the service
Getting started with container
1. Why containers?
2. What is the purpose of Building containers and Docker mainly
3. What is the main reason behind doing it?
How to utilize the hardware
Container are very light weight
SERVER
HOST OS
GUEST OS
HYPERVISOR
LIBRARIES/Bin
APP A
GUEST OS
LIBRARIES/Bin
APP B
VM
SERVER
HOST OS
APP A APP B
LIBRARIES LIBRARIES
CONTAINER
S
• Containers are isolated but share OS
• Increase the compute density and
memory utilization
DOCKER ENGINE
Virtual Machine
Container
Scalable by Design
● Containers are industry leaders in the time to start new instance
● Container spin time for new instance takes seconds
● Provisioning and starting new Virtual Machines takes from 5 to 20 minutes
Container + Microservice
● One microservice application = one container
● Granular fast scalability
● Similar experience on workstation and production
● Hybrid environments: deploy to cloud and on-premise
Container commands
Source : docker | Docker Documentation
Building a Dockerfile
Some Command/lines of code that are very
important
Lets know some docker terms
Images - docker images
Tags/Layers - -t [tagname] , docker tag [source-images] [tagged-name]
Containers : docker container ls ,docker ps -a
Dockerfile : docker build -t [container-name] . (ful stop in end is very important)
Commit : docker commit [container-id] [tag-name]
Docker Hub/Container Registry : docker push [image-name]
Dockerfile instruction or argument
FROM
LABEL
RUN
WORKDIR
ADD
CMD
Dockerfile instruction or argument
FROM
LABEL
RUN
WORKDIR
ADD
CMD
Thus study the documentation you will all lie it : Dockerfile reference | Docker
Documentation
From Dev To Ops
PHYSICAL VIRTUAL CLOUD
Any Application
Docker Platform
Docker Image
Docker Engine
Registry Service (Docker Hub or Docker Trusted Registry)
Cloud or server based storage and distribution service for images
Docker Container
Docker Hub: Build, Ship, Run Applications
Build Ship
Run
Dev
QA
Source
Staging
Physical
Virtual
Cloud
InfrastructureManagement
InfrastructureManagement
DockerFile
Source Code
Repository
TEST
TEST
TEST
TEST
TEST
GCE RAX Azure
Mac/Win Dev
Machine
Boot2Docker
Docker
Analytics
DB
Prod
Machine
Linux OS
Docker
Docker
++
Users Collab
Provenance Policy
Docker Hub
Registries
Public Curated Private
Docker Hub API
Third Party Tools
Prod
Machine
Linux OS
Docker
Docker
Prod
Machine
Linux OS
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
QA Machine
Linux OS
Docker
Docker
Docker Hub provides a centralized resource for container image discovery,
distribution and change management, user and team collaboration, and workflow
automation
Docker Hub: Build, Ship, Run Applications
Build Ship
Run
Dev
QA
Source
Staging
Physical
Virtual
Cloud
InfrastructureManagement
InfrastructureManagement
DockerFile
Source Code
Repository
TEST
TEST
TEST
TEST
TEST
GCE RAX Azure
Mac/Win Dev
Machine
Boot2Docker
Docker
Analytics
DB
Prod
Machine
Linux OS
Docker
Docker
++
Users Collab
Provenance Policy
Docker Hub
Registries
Public Curated Private
Docker Hub API
Third Party Tools
Prod
Machine
Linux OS
Docker
Docker
Prod
Machine
Linux OS
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
QA Machine
Linux OS
Docker
Docker
Docker Hub provides a centralized resource for container image discovery,
distribution and change management, user and team collaboration, and workflow
automation
Build Docker Image
1. Available Docker Integration Build Task
2. Docker Registry Credentials Management
3. Docker Build command
4. Docker Push command
5. Docker Run command
6. Run Docker commands
7. Docker Compose support
8. Requires private VSTS agent with Docker tools
So we will do some cloud in the later part but for
sure we will have to do the development of the
developer environment.
Setting up a Dev Environment
pip install -r requirements.txt
pip freeze > requirements.txt
Simple steps involved
1. Develop the code and have the required reps in the file
2. Dockerfile has to be created
3. Building the docker file
4. Deploying the docker file
Simple steps involved
1. Develop the code and have the required reps in the file
2. Dockerfile has to be created
3. Building the docker file
4. Deploying the docker file
docker run -p 8888:8888 devenv
“The above command depends on the port that we want to expose”
How to access the deployed container is by
Go to your browser and in the URL tab we have to type
localhost:8888
127.0.0.1:<port>
Containers on cloud
Hosting Docker Registry in azure
Docker Hub with Microsoft Azure storage driver
Uses Microsoft Azure Blob Storage for object storage.
Azure Container Registry Service
managed private Docker registry in Azure
Docker Registry on VM We will not even touch this
The Registry is a stateless, highly scalable server side application that
stores and lets you distribute Docker images.
Docker Hub with the Storage Registry
Target VM
docker
push
docker pull
docker
run
dotnet build
docker
build
CI/CD server
Github
Read/Write
Images
pull
image
Docker
Registry
Microsoft Azure
Azure Container Registry Service
1. Store and manage container images across all types of Azure deployments
2. Maintain Windows and Linux container images in a single Docker registry
3. Use familiar, open-source Docker command line interface (CLI) tools
4. Simplify registry access management with Azure Active Directory
5. Pricing: Blob storage pricing model. No addition price for the Registry service
Azure Container Registry Service
DOCKER REGISTRY API
AZURE STORAGE ACCOUNT (LRS)
PRIVATE CONTAINER (NAME OF REGISTRY)
BLOCK BLOBS
On deployment part
1. Application Deployment, including rollouts and rollbacks
2. Horizontal Scaling(just like spark and other frameworks)
3. Self-healing
4. Discovery and load balancing
5. Configuration management
6. Monitoring
Master
Baseline Architecture of the Containers
Master Worker Node
App 3
App 1 App 2
Orchestration
Worker Node
App 1 App 2
Orchestration
Orchestration
Services
Admin UI / CLI
Load Balancing
Application Users
Azure Container Service
● Optimized provisioning of open-source container orchestration tools
○ Kubernetes
○ DC/OS
○ Docker Swarm
● Full automation of all orchestration platform components
● Compatible with standard open-source “orchestration API”
● ACS is a free service that clusters Virtual Machines (VMs) into a container
● Hybrid deployment for applications
So moral of the Story is that
Container instance is different from the Container
Registry.
That's it nothing more nothing less.
ACS Docker Swarm Deployment
ACS DC/OS
ACS Kubernetes Deployment
Scaling containers apps on the cloud - Kubernetes
Kubernetes is a very huge orchestrator thus we will touch on it in the future.(an
exclusive content on Azure Kubernetes Service)
Lets just do some demo
The github repository is mentioned here:
https://github.com/vishwas1234567/reactorfile.git
Container on azure

Weitere ähnliche Inhalte

Was ist angesagt?

急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
Hirokazu Ouchi
 

Was ist angesagt? (20)

20201125 EC Solution Seminar Recommend
20201125 EC Solution Seminar Recommend20201125 EC Solution Seminar Recommend
20201125 EC Solution Seminar Recommend
 
기획자를 위한 OAuth
기획자를 위한 OAuth기획자를 위한 OAuth
기획자를 위한 OAuth
 
AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례
AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례
AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group Replication
 
AWS Certified Cloud Practitioner Course S11-S17
AWS Certified Cloud Practitioner Course S11-S17AWS Certified Cloud Practitioner Course S11-S17
AWS Certified Cloud Practitioner Course S11-S17
 
Migrating On-Premises Workloads with Azure Migrate
Migrating On-Premises Workloads with Azure MigrateMigrating On-Premises Workloads with Azure Migrate
Migrating On-Premises Workloads with Azure Migrate
 
Volume Encryption In CloudStack
Volume Encryption In CloudStackVolume Encryption In CloudStack
Volume Encryption In CloudStack
 
노후 서버 교체 필요성
노후 서버 교체 필요성노후 서버 교체 필요성
노후 서버 교체 필요성
 
急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
急なトラフィック増にも動じない、Amazon S3とCloudFrontを活用したWebサイト構築
 
Integrated Cloud Framework: Security, Governance, Compliance, Content Applica...
Integrated Cloud Framework: Security, Governance, Compliance, Content Applica...Integrated Cloud Framework: Security, Governance, Compliance, Content Applica...
Integrated Cloud Framework: Security, Governance, Compliance, Content Applica...
 
XenApp/XenDesktop環境でのアプリケーション互換性について
XenApp/XenDesktop環境でのアプリケーション互換性についてXenApp/XenDesktop環境でのアプリケーション互換性について
XenApp/XenDesktop環境でのアプリケーション互換性について
 
AWS Summit Seoul 2023 | Observability를 넘어선 클라우드 운영관리의 미래
AWS Summit Seoul 2023 | Observability를 넘어선 클라우드 운영관리의 미래AWS Summit Seoul 2023 | Observability를 넘어선 클라우드 운영관리의 미래
AWS Summit Seoul 2023 | Observability를 넘어선 클라우드 운영관리의 미래
 
Whats New in Integration What's New in IBM Integration Bus and IIB on Cloud
Whats New in Integration What's New in IBM Integration Bus and IIB on Cloud Whats New in Integration What's New in IBM Integration Bus and IIB on Cloud
Whats New in Integration What's New in IBM Integration Bus and IIB on Cloud
 
Cloud Fundamentals PPT.pptx
Cloud Fundamentals PPT.pptxCloud Fundamentals PPT.pptx
Cloud Fundamentals PPT.pptx
 
IBM MQ on cloud and containers
IBM MQ on cloud and containersIBM MQ on cloud and containers
IBM MQ on cloud and containers
 
IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트)
IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트) IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트)
IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트)
 
High Availability in Microsoft Azure
High Availability in Microsoft AzureHigh Availability in Microsoft Azure
High Availability in Microsoft Azure
 
노후서버 교체 필요성
노후서버 교체 필요성노후서버 교체 필요성
노후서버 교체 필요성
 
XenDesktop 7.6とXenApp 7.6の移行および注意点について徹底解説
XenDesktop 7.6とXenApp 7.6の移行および注意点について徹底解説 XenDesktop 7.6とXenApp 7.6の移行および注意点について徹底解説
XenDesktop 7.6とXenApp 7.6の移行および注意点について徹底解説
 
AWS Enterprise Summit :: 클라우드 운영 - Cloud CoE, Cloud Ops, Cloud MSP (이원일 시니어 컨...
AWS Enterprise Summit :: 클라우드 운영 - Cloud CoE, Cloud Ops, Cloud MSP (이원일 시니어 컨...AWS Enterprise Summit :: 클라우드 운영 - Cloud CoE, Cloud Ops, Cloud MSP (이원일 시니어 컨...
AWS Enterprise Summit :: 클라우드 운영 - Cloud CoE, Cloud Ops, Cloud MSP (이원일 시니어 컨...
 

Ähnlich wie Container on azure

Ähnlich wie Container on azure (20)

Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14
 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with docker
 
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep DiveDocker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
Docker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryDocker OpenStack Cloud Foundry
Docker OpenStack Cloud Foundry
 
Techdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosTechdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err Microcosmos
 
Docker slides
Docker slidesDocker slides
Docker slides
 
Rome .NET Conference 2024 - Remote Conference
Rome .NET Conference 2024  - Remote ConferenceRome .NET Conference 2024  - Remote Conference
Rome .NET Conference 2024 - Remote Conference
 
C219 - Docker and PureApplication Patterns: Better Together
C219 - Docker and PureApplication Patterns: Better TogetherC219 - Docker and PureApplication Patterns: Better Together
C219 - Docker and PureApplication Patterns: Better Together
 
DCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and Architecture
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
 
Overview of Docker
Overview of DockerOverview of Docker
Overview of Docker
 
Axigen on docker
Axigen on dockerAxigen on docker
Axigen on docker
 
.docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 
Docker - A Quick Introduction Guide
Docker - A Quick Introduction GuideDocker - A Quick Introduction Guide
Docker - A Quick Introduction Guide
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptx
 
Docker, Cloud Foundry, Bosh & Bluemix
Docker, Cloud Foundry, Bosh & BluemixDocker, Cloud Foundry, Bosh & Bluemix
Docker, Cloud Foundry, Bosh & Bluemix
 

Mehr von Vishwas N

Mehr von Vishwas N (20)

API Testing and Hacking.pdf
API Testing and Hacking.pdfAPI Testing and Hacking.pdf
API Testing and Hacking.pdf
 
API Hijacking.pdf
API Hijacking.pdfAPI Hijacking.pdf
API Hijacking.pdf
 
What should be your approach for solving ML_CV problem statements_.pdf
What should be your approach for solving ML_CV problem statements_.pdfWhat should be your approach for solving ML_CV problem statements_.pdf
What should be your approach for solving ML_CV problem statements_.pdf
 
Deepfence.pdf
Deepfence.pdfDeepfence.pdf
Deepfence.pdf
 
DevOps - A Purpose for an Institution.pdf
DevOps - A Purpose for an Institution.pdfDevOps - A Purpose for an Institution.pdf
DevOps - A Purpose for an Institution.pdf
 
API Testing and Hacking (1).pdf
API Testing and Hacking (1).pdfAPI Testing and Hacking (1).pdf
API Testing and Hacking (1).pdf
 
API Hijacking (1).pdf
API Hijacking (1).pdfAPI Hijacking (1).pdf
API Hijacking (1).pdf
 
Dapr.pdf
Dapr.pdfDapr.pdf
Dapr.pdf
 
linkerd.pdf
linkerd.pdflinkerd.pdf
linkerd.pdf
 
HoloLens.pdf
HoloLens.pdfHoloLens.pdf
HoloLens.pdf
 
Automated Governance for the DevOps Institutions.pdf
Automated Governance for the DevOps Institutions.pdfAutomated Governance for the DevOps Institutions.pdf
Automated Governance for the DevOps Institutions.pdf
 
Lets build with DevSecOps Culture.pdf
Lets build with DevSecOps Culture.pdfLets build with DevSecOps Culture.pdf
Lets build with DevSecOps Culture.pdf
 
Github Actions and Terraform.pdf
Github Actions and Terraform.pdfGithub Actions and Terraform.pdf
Github Actions and Terraform.pdf
 
KEDA.pdf
KEDA.pdfKEDA.pdf
KEDA.pdf
 
Ram bleed the hardware based approach for the hackers
Ram bleed the hardware based approach for the hackersRam bleed the hardware based approach for the hackers
Ram bleed the hardware based approach for the hackers
 
Deeplearning and dev ops azure
Deeplearning and dev ops azureDeeplearning and dev ops azure
Deeplearning and dev ops azure
 
Azure data lakes
Azure data lakesAzure data lakes
Azure data lakes
 
Azure dev ops
Azure dev opsAzure dev ops
Azure dev ops
 
Nlp for the precision medicine
Nlp for the precision medicineNlp for the precision medicine
Nlp for the precision medicine
 
Stem cell and the other techniques
Stem cell and the other techniquesStem cell and the other techniques
Stem cell and the other techniques
 

Kürzlich hochgeladen

Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Sheetaleventcompany
 

Kürzlich hochgeladen (20)

Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 

Container on azure

  • 1. Azure Services for the Containers By : Vishwas Narayan
  • 2.
  • 3.
  • 4. So now they had questions on the monolithic architecture 1. How can we put the softwares update on the cloud. 2. If we ghost the server how to create a data recovery? 3. On making the updates how to rerun the instances? 4. After running how to get the customers back for the working?(as both the software and hardware was updated) 5. After releasing how to document it? 6. What software dependency can be used later?
  • 5. Then came the SOA (Service Oriented Architecture) 1. How to make the people know the potential of the hardware that they are using? 2. How to make the engineers learn the networking? 3. What if the security goes wrong? 4. What if the users don't know how to deploy the application?
  • 6. So now when everything became coarse grain what next? Ease the developer to just look at the business problem statement and the cloud thus microservices came in.
  • 7. All lead to some nice questions and they were getting solved and then what
  • 8.
  • 9.
  • 10. Agenda ● Containers Introduction ● Container commands ● Building a Dockerfile ● Containers on cloud ● Scaling containers apps on the cloud - Kubernetes ● Q&A
  • 12. All of it started as a problem statement to make life easier Lot of questions that they asked? ● When to pach ● When to create a backup ● When to upgrade the service
  • 13. Getting started with container 1. Why containers? 2. What is the purpose of Building containers and Docker mainly 3. What is the main reason behind doing it?
  • 14. How to utilize the hardware
  • 15.
  • 16. Container are very light weight SERVER HOST OS GUEST OS HYPERVISOR LIBRARIES/Bin APP A GUEST OS LIBRARIES/Bin APP B VM SERVER HOST OS APP A APP B LIBRARIES LIBRARIES CONTAINER S • Containers are isolated but share OS • Increase the compute density and memory utilization DOCKER ENGINE
  • 17.
  • 19. Scalable by Design ● Containers are industry leaders in the time to start new instance ● Container spin time for new instance takes seconds ● Provisioning and starting new Virtual Machines takes from 5 to 20 minutes
  • 20. Container + Microservice ● One microservice application = one container ● Granular fast scalability ● Similar experience on workstation and production ● Hybrid environments: deploy to cloud and on-premise
  • 22.
  • 23. Source : docker | Docker Documentation
  • 24.
  • 26. Some Command/lines of code that are very important
  • 27. Lets know some docker terms Images - docker images Tags/Layers - -t [tagname] , docker tag [source-images] [tagged-name] Containers : docker container ls ,docker ps -a Dockerfile : docker build -t [container-name] . (ful stop in end is very important) Commit : docker commit [container-id] [tag-name] Docker Hub/Container Registry : docker push [image-name]
  • 28. Dockerfile instruction or argument FROM LABEL RUN WORKDIR ADD CMD
  • 29. Dockerfile instruction or argument FROM LABEL RUN WORKDIR ADD CMD Thus study the documentation you will all lie it : Dockerfile reference | Docker Documentation
  • 30. From Dev To Ops PHYSICAL VIRTUAL CLOUD Any Application
  • 31. Docker Platform Docker Image Docker Engine Registry Service (Docker Hub or Docker Trusted Registry) Cloud or server based storage and distribution service for images Docker Container
  • 32.
  • 33. Docker Hub: Build, Ship, Run Applications Build Ship Run Dev QA Source Staging Physical Virtual Cloud InfrastructureManagement InfrastructureManagement DockerFile Source Code Repository TEST TEST TEST TEST TEST GCE RAX Azure Mac/Win Dev Machine Boot2Docker Docker Analytics DB Prod Machine Linux OS Docker Docker ++ Users Collab Provenance Policy Docker Hub Registries Public Curated Private Docker Hub API Third Party Tools Prod Machine Linux OS Docker Docker Prod Machine Linux OS Docker Docker VM Docker Docker VM Docker Docker VM Docker Docker QA Machine Linux OS Docker Docker Docker Hub provides a centralized resource for container image discovery, distribution and change management, user and team collaboration, and workflow automation
  • 34. Docker Hub: Build, Ship, Run Applications Build Ship Run Dev QA Source Staging Physical Virtual Cloud InfrastructureManagement InfrastructureManagement DockerFile Source Code Repository TEST TEST TEST TEST TEST GCE RAX Azure Mac/Win Dev Machine Boot2Docker Docker Analytics DB Prod Machine Linux OS Docker Docker ++ Users Collab Provenance Policy Docker Hub Registries Public Curated Private Docker Hub API Third Party Tools Prod Machine Linux OS Docker Docker Prod Machine Linux OS Docker Docker VM Docker Docker VM Docker Docker VM Docker Docker QA Machine Linux OS Docker Docker Docker Hub provides a centralized resource for container image discovery, distribution and change management, user and team collaboration, and workflow automation
  • 35. Build Docker Image 1. Available Docker Integration Build Task 2. Docker Registry Credentials Management 3. Docker Build command 4. Docker Push command 5. Docker Run command 6. Run Docker commands 7. Docker Compose support 8. Requires private VSTS agent with Docker tools
  • 36. So we will do some cloud in the later part but for sure we will have to do the development of the developer environment.
  • 37. Setting up a Dev Environment pip install -r requirements.txt pip freeze > requirements.txt
  • 38. Simple steps involved 1. Develop the code and have the required reps in the file 2. Dockerfile has to be created 3. Building the docker file 4. Deploying the docker file
  • 39. Simple steps involved 1. Develop the code and have the required reps in the file 2. Dockerfile has to be created 3. Building the docker file 4. Deploying the docker file docker run -p 8888:8888 devenv “The above command depends on the port that we want to expose”
  • 40. How to access the deployed container is by Go to your browser and in the URL tab we have to type localhost:8888 127.0.0.1:<port>
  • 42. Hosting Docker Registry in azure Docker Hub with Microsoft Azure storage driver Uses Microsoft Azure Blob Storage for object storage. Azure Container Registry Service managed private Docker registry in Azure Docker Registry on VM We will not even touch this The Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images.
  • 43. Docker Hub with the Storage Registry Target VM docker push docker pull docker run dotnet build docker build CI/CD server Github Read/Write Images pull image Docker Registry Microsoft Azure
  • 44. Azure Container Registry Service 1. Store and manage container images across all types of Azure deployments 2. Maintain Windows and Linux container images in a single Docker registry 3. Use familiar, open-source Docker command line interface (CLI) tools 4. Simplify registry access management with Azure Active Directory 5. Pricing: Blob storage pricing model. No addition price for the Registry service
  • 45. Azure Container Registry Service DOCKER REGISTRY API AZURE STORAGE ACCOUNT (LRS) PRIVATE CONTAINER (NAME OF REGISTRY) BLOCK BLOBS
  • 46. On deployment part 1. Application Deployment, including rollouts and rollbacks 2. Horizontal Scaling(just like spark and other frameworks) 3. Self-healing 4. Discovery and load balancing 5. Configuration management 6. Monitoring
  • 47. Master Baseline Architecture of the Containers Master Worker Node App 3 App 1 App 2 Orchestration Worker Node App 1 App 2 Orchestration Orchestration Services Admin UI / CLI Load Balancing Application Users
  • 48. Azure Container Service ● Optimized provisioning of open-source container orchestration tools ○ Kubernetes ○ DC/OS ○ Docker Swarm ● Full automation of all orchestration platform components ● Compatible with standard open-source “orchestration API” ● ACS is a free service that clusters Virtual Machines (VMs) into a container ● Hybrid deployment for applications
  • 49. So moral of the Story is that Container instance is different from the Container Registry. That's it nothing more nothing less.
  • 50. ACS Docker Swarm Deployment
  • 53. Scaling containers apps on the cloud - Kubernetes Kubernetes is a very huge orchestrator thus we will touch on it in the future.(an exclusive content on Azure Kubernetes Service)
  • 54.
  • 55.
  • 56. Lets just do some demo The github repository is mentioned here: https://github.com/vishwas1234567/reactorfile.git