Steps to fetch Azure Resources in JSON format
Access Token from Azure Portal​
To obtain an access token from Azure for use with APIs, you typically need to use App Registration under Identity for authenticating and authorizing your application.
To obtain an access token from Azure for use with APIs, you typically need to use App Registration under Identity for authenticating and authorizing your application.
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.
Cryptography is the practice of secure communication in the presence of third parties. It involves the use of mathematical algorithms to encode and decode messages, making it difficult for unauthorized individuals to read or modify the data being transmitted. It involves techniques such as encryption, hashing, and digital signatures to ensure that messages are protected from unauthorized access or tampering.
Docker is a popular tool used by developers and IT professionals to streamline the process of building, packaging, and deploying applications. It allows applications and their dependencies to be packaged into lightweight, portable, and self-sufficient containers that can be run consistently across different environments.
Containers are lightweight and portable packages that contain everything needed to run a software application, including the code, libraries, and settings. Containers are similar to virtual machines but are more lightweight and efficient, as they don't require a separate operating system. They are widely used in modern software development and deployment practices to package, distribute, and run applications in a consistent and reproducible way.
Docker is an open-source platform that allows you to package and run applications in containers, providing a lightweight, portable, and isolated way to develop, deploy, and manage applications across different computing environments.
Docker Client: It is the primary component to interact with the docker host.
Docker Host /Server: It contains the main program called Docker-Daemon which listens to all API calls from the docker client and manages the docker objects such as containers, images, volumes, and networks.
Docker Registry: A Docker registry is a centralized repository for storing and sharing Docker images. Docker Hub is the default public registry, which contains a large number of official and community-contributed Docker images.
Docker Image: A Docker image is a read-only template that contains everything needed to run a container, including the application, code, and configurations packed into a single file called Docker-Image. Docker images are stored in a registry, such as Docker Hub, from which they can be pulled to create containers.
Docker Container: Container is a running instance of a Docker Image. Containers are isolated from each other and from the host system, providing consistency and reproducibility across different environments.
Docker Compose: It is used to define applications by using multiple docker containers.
Docker Swarm: It is a collection of docker engines, if the service on the engine or node is down, that service can be run on another engine. It is a technique to create and maintain a cluster of docker engines. Service deployed on one node can be accessed on other nodes in the same cluster.
Docker Volumes: Volumes in docker is essentially a directory inside docker. It can be directly accessed by the container and it’s kept when you remove the container.
Difference between Bind Mount Volumes and Normal Volumes
| Bind Mount Volumes | Normal Volumes |
|---|---|
| Bind mount volumes are managed by Users | Normal volumes are completely managed by the docker |
| It is dependent on the directory structure | It’s not dependent on the directory structure |
| We need to take care of backup and migration and it’s not easy to take back-up | It is easy to take back-up and perform migration |
Docker networks are virtual networks that allow containers to communicate with each other securely and efficiently. There are 3 types of networks:
Bridge Network: A bridge network is a private network that allows containers to communicate with each other on the same host or across hosts. Containers in a bridge network are connected to a virtual switch, which allows them to communicate securely and efficiently using container names or IP addresses.
Host Network: Here we create a container directly on the host network. Where the network configuration of a container should be the same as the network configuration of the host.
Null Network: It is used to create a container that doesn’t have any network interface. As there is no network interface, we can’t expose it externally and it is used to store data.
| Description | Command |
|---|---|
| Build the image out of the docker file | docker build –t image-name |
| Bring up the container from the docker file | docker run –d image-name |
| To get into a container | docker exec –it container-id /bin/bash |
| To run the image into a container | docker run –itd image-name |
| Check container status | docker ps |
| To create image | docker commit container-id new-image-name |
| To share the same data b/w multiple containers | docker volume –driver=nfs volume_name |
In summary, Docker provides portability, consistency, efficiency, reproducibility, flexibility, scalability, DevOps integration, security, and a vibrant community, making it a powerful tool for modern application development and deployment.
Kubernetes, also known as K8s, has emerged as a popular container orchestration platform that has revolutionized the way modern applications are developed, deployed, and managed.
A server is a computer or a software program that provides services or resources to other computers. Servers can provide various services, including web hosting, email, file sharing, database management, and application hosting.
An operating system (OS) is a software program that manages computer hardware and software resources. It acts as an interface between the computer hardware and the user. There are many operating systems that are available however the most common operating systems are Microsoft's Windows, Apple's macOS, Linux and Chrome OS.
If you are either a bootstrapped startup, freelancer, NGO or maintaining an open-source project, you want to save on your website costs. You want to make sure that you have a professional-looking website so that people take you seriously.
There are hundreds of companies or freelancers who can set up the web infrastructure for you and create a beautiful website. They not only cost a lot of money to design and set up, but you also get charged for hosting, especially with a custom domain.
When you are just starting out, it makes sense to save on these costs especially if you are technically oriented. It’s also important that you don’t spend too much time on creating a sustainable infrastructure instead of concentrating on your core business.
Here are some ways of the top ways that you can get a professional website and blog up and running without too much effort:
A simple explanation of micro-services. Also discusses some pro/cons of the micro-services.
Some notes on migrating on-premise datacenter applications to the cloud.
These notes are based on the actual experience of migrating a complex legacy application to the cloud.