Azure Container Services offer a beginner-friendly platform for managing containerized applications in the Azure cloud. One important component is Azure Container Registry, which acts like a safe and private storage space for container images. It makes it easy to upload and manage your containers, ensuring they are secure and ready for deployment in Azure.
Another helpful service is Azure Container Instances. It allows you to run containers without worrying about the underlying infrastructure. You can quickly scale up or down your containers, making it perfect for trying out new ideas or testing your applications.
If you're looking for a more advanced option, Azure Kubernetes Service (AKS) provides a managed Kubernetes environment. Don't worry if you're not familiar with Kubernetes—it's an open-source system for managing containers, and AKS takes care of all the complex setup and management. It frees you to focus on building your applications without getting caught up in the technical details.
With Azure Container Registry, Azure Container Instances, and Azure Kubernetes Service, you have a set of beginner-friendly tools that make it simple to build, deploy, and scale containerized applications in Azure. Whether you're just starting out or already have some experience, these services provide an easy and efficient way to work with containers in the Azure cloud.
Creating Container Registry
Search for the container registry
Enter a few required details
Rest things are default
Our container registry is ready now
Click on Access Keys and enable Admin user, this will generate the password for you
On the left side, we have Repositories where all our images are showing
Creating Container Instances
Azure Container Instances is used to create and manage Docker containers in Azure without having to set up virtual machines or manage additional infrastructure.
Mention these details
In the Image source, I have clicked on Quickstart images
Leave default
Leave default
Leaving blank
I am using Quick start image
The resource is ready now
Creating Kubernetes Services
I went with Kubernetes Cluster
I have changed Node count 5 to 2
I am adding another Node pool
Fill or mentioned these details
Select the size for the node
Modify these details also
Leave default
Going with default but we also have the option to select Azure CNI, in which we can have the option to choose our own Vnet.
Select container registry
Leave default
Leave default
My resource is ready now
I have clicked to connect
Clicked to Open Cloud Shell
Clicked to Bash
I have created one nano file
nano azurevote.yml
Pasted the demo pod file inside this (Please use your own yaml file)
apiVersion: apps/v1
kind: Deployment
metadata:
name: development-deployment
labels:
app: development-app
spec:
replicas: 1
selector:
matchLabels:
app: development-app
template:
metadata:
labels:
app: development-app
spec:
containers:
- name: azure-vote-container
image: azure-vote-image
ports:
- containerPort: 80
env:
- name: ENVIRONMENT
value: development
# Add any additional environment variables or configuration specific to development environment
kubectl create -f azurevote.yml
You can ignore my Yaml file because I have just used this directly from Google and I didn't make any change
Our Node pools are showing here
Thank you for reading my blog, and I hope you find it informative and inspiring. If you have any feedback or questions, please feel free to reach out.
.
.