Deploying Containers with ACI

Azure Compute Solutions

Florin Angelescu

Azure Cloud Architect

Azure Container Instances (ACI)

 

Azure Container Instances

 

 

  • Provide a way to run containers directly in the cloud.
  • Without worrying about infrastructure.
Azure Compute Solutions

Azure Container Instances (ACI)

 

Azure Container Instances

 

 

  • Serverless model:
    • You focus on the container image
    • Azure takes care of provisioning the compute resources
  • Ideal for scenarios where you need speed and simplicity.
Azure Compute Solutions

Benefits of ACI

 

Azure Container Instances

  • Pay for the resources while container is running.
  • Perfect for:
    • Short-lived tasks
    • Proof-of-concepts
    • Applications that don't require complex orchestration
Azure Compute Solutions

Benefits of ACI

 

Azure Container Instances

  • Pay for the resources while container is running.
  • Perfect for:
    • Short-lived tasks
    • Proof-of-concepts
    • Applications that don't require complex orchestration
  • Developers can:
    • Test new builds quickly
    • Experiment with ideas before committing to Kubernetes
Azure Compute Solutions

Benefits of ACI

 

Azure Container Instances

Supports

 

  • Linux containers

 

 

  • Windows containers
Azure Compute Solutions

Benefits of ACI

 

Azure Container Instances

Supports

 

 

  • Azure file shares
Azure Compute Solutions

Deploying a Container

Azure Container Instances

  • Azure Portal
  • Azure CLI
  • ARM templates
Azure Compute Solutions

Deploying a Container

Azure Container Instances

Specify:

  • Image (from Azure Container Registry or Docker Hub)
  • CPU and memory limits, and networking options
Azure Compute Solutions

Deploying a Container

Azure Container Instances

Great entry point for developers who want to see their applications running in the cloud with minimal effort.

Azure Compute Solutions

Monitoring running Containers

Azure Container Instances

  • Integrates with:
    • Azure Monitor
    • Log Analytics
Azure Compute Solutions

Monitoring running Containers

Azure Container Instances

  • Track CPU, memory, and network usage
  • Set alerts
  • Visualize performance trends
Azure Compute Solutions

Monitoring running Containers

Azure Container Instances

  • Ensures that containers run smoothly and resources aren't wasted.
  • Helps to adjust resource allocations.
  • Quickly identify bottlenecks and optimize container behavior.
Azure Compute Solutions

Viewing logs

 

Azure Container Instances

  • Provide visibility into container behavior.

  • Stream logs helps to:

    • Debug issues
    • Confirm successful execution
    • Trace application output
  • Useful for troubleshooting batch jobs or APIs.

  • Help validate that containers are behaving as expected in production.

  • Can be exported for long-term analysis.

Azure Compute Solutions

Recap

 

Azure Container Instances

 

 

  • Simplest way to run containers in Azure.

  • Flexible, secure.

  • Great stepping stone before moving to Kubernetes.

Azure Compute Solutions

Let's practice!

Azure Compute Solutions

Preparing Video For Download...