Download presentation
Presentation is loading. Please wait.
1
Azure Container Instances
11/11/ :12 AM Azure Container Instances Sean McKenna @seanmckmsft © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
What is Azure Container Instances?
3
Containers as a core Azure resource.
4
Why does that matter? Today, containers never travel solo
Options include Setup one or more VMs and manage them as container hosts Deploy a container orchestrator service on VMs Use containers as a packaging mechanism for a higher-level service These options are often not ideal Costly Complicated to learn Complicated to manage
5
Azure Container Instances Benefits
Microsoft Inspire 11/11/ :12 AM Azure Container Instances Benefits Fastest and easiest way to run a container in the cloud No VM management Per-second billing based on resource requirements (CPU + Memory) Deploy images from DockerHub, Azure Container Registry, or any other Docker registry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Demo: Hello World 11/11/2018 12:12 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
The ACI model: technical
Azure VM Public IP: Ports exposed: 80 ACI Container Group (hypervisor boundary)* Port 80 Port 5000 myacr.azurecr.io/app:v1 myacr.azurecr.io/sidecar:v1 acishare1 acishare2 * Multi-container groups for Windows coming soon
8
The ACI model: billing One-time charge for container creation: $0.0025
Per-second charge for CPU/memory requested: 1 vCPU core: $ 1 GB memory: $ Examples: Single container with 1 CPU/1 GB running for one month: $62.21 100 containers with 2 CPU/3 GB running for one hour each: $22.75
9
Common scenarios Task automation CI/CD agents
Small-scale batch processing Simple web apps
10
Demo: Task automation 11/11/2018 12:12 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
But what if I need… Auto-scaling Rolling upgrades Service discovery
Integrated load balancing Affinity/anti-affinity …
12
Then what you need is an orchestrator.
13
But I also want… Fast startup No VM management Custom resource sizing
Per-second billing …
14
Then you want an ACI connector.
15
AKA
16
&
17
ACI Connector for Kubernetes
Microsoft Inspire 11/11/ :12 AM ACI Connector for Kubernetes Kubernetes Enable Kubernetes clusters to deploy using ACI Open-source on GitHub The best of both worlds (VM and ACI) Virtual Machines Container Instances © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
18
Bursting with the ACI Connector
Developers/Operators Deployments/tasks Kubernetes Control Plane VM VM VM Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod
19
Bursting with the ACI Connector
Developers/Operators Deployments/tasks Kubernetes Control Plane AC I CONNECT OR ACI Pod Pod Pod Pod Pod Pod VM VM VM Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod
20
Demo: ACI Connector
21
Can you summarize all these container options for me?
22
Sure thing. Service Sweet spot Azure Web Apps
Deploy scalable web apps and services using containers Service Fabric Build microservice applications packaged in containers Azure Container Service Use OSS orchestrators to manage containers across VMs Azure Batch Schedule large scale batch processes deployed in containers Azure Container Instances Run individual containers with no VM management
23
ACI: What you can do today
Run Linux and Windows containers Custom CPU/memory (up to 4 CPU/8 GB memory) Expose containers via public IP Mount Azure files volumes for persistent storage Set environment variables Override the command line
24
Roadmap Provide most standard container capabilities
Attach to an existing container Copy files into/out of running containers Enable ACI containers to do most things that VMs can do in Azure Networking: Join a private vnet, sit behind an internal or external load balancer Storage: Mount managed disks (Azure files is already available) Invest in ACI Connector for more complex applications Autoscaling, HA, rolling upgrades, load balancing, etc. will all be easier with an orchestrator Developer tooling will also primarily target the orchestrator layer
25
Resources Documentation ACI Connector for Kubernetes Feedback forum
11/11/ :12 AM Resources Documentation ACI Connector for Kubernetes Feedback forum Issues list © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
26
Thank you! Sean McKenna @seanmckmsft
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.