Category Archives: Cloud Computing

Docker to AWS, A journey

I am following this lecture to build from here: https://amigoscode.com/courses/631065/lectures/11260263

Docker Image:

Image is a template for creating an environment of your choice, snapshot, has everything to run your apps, OS, software, app code.

Below code we are pulling Apache httpd in docker desktop:

Check the images:

Run container from this image:

It will hang up so we write ctrl+c to delete it

we check with this code:

docker run

we check:

or

Docker port exposing: before that we are stopping the running container

docker stop objective_roentgen
docker stop intelligent_wiles

Now writing command for exposing the port and running the container:

d for dettach and p for port exposing t

Now the container is running perfectly and exposing the port which we can visit and check with command:

 

Now going to

will work perfectly.

It means the container port 80 is exposing to user by port 8080

Now I stopped the container:

So cannot reach to localhost:8080
Now we want to run in different port we can also follow the step:

Now we can also run multiple containers from a single command:

We stop and start again the docker container:

 

now docker help finding:

it will show like this:

removing a container from here:

we can show id  by

it will show like this:

when we need to remove running container forcefully

-f for force

Custom name for docker container:

Now stopping docker container named website

Now running again the docker container:

we check containers with command

Docker ps formatting:

 

Docker volumes: between host and controllers

pwd=present working directory

 

Kubernetes Diary

Tried this code from github issue and solved:

minikube start –no-vtx-check

Test :

kubectl get nodes

 

References:

https://learnk8s.io/installing-docker-kubernetes-windows#installing-kubernetes-on-windows-10-with-minikube

 

https://github.com/dainael/cdn_project/blob/main/kube_notes.txt

https://docs.docker.com/get-started/kube-deploy/

Cloud Computing Lectures and Notes Winter 2020/21

1st week:
Task: Choose a team with topic is the exercise.

You need to chose a software solution, you need make it and present.
You need to submit it before February and every week prof. needs update
It should be multi node implementation

No exam this time only project that mean

Your installation guide should provide detailed steps how to deploy,
configure and use the service
[Latex diye koire fellam]
IOT er tao kore fellam tate  duita laav hoilo
[Dui dhoroner help pawa gelo + practice]

The client-server architecture consists of 2 layers and is called two-tier model
(tier = layer)

Parental Computing is company provided the service[47 minutes in recording]

According to their areas of responsibility, 4 types of clients exist:
1 Text-/X-Terminals
2 Thin/Zero Clients
3 Applet Clients
4 Fat Clients

— My Topic For Project: Kubernetes and Docker
– Most of the cloud/DevOps engineer needs this skill and First experience in the public cloud environment (AWS or AZURE)
– good knowledge of object-oriented languages ​​(e.g. Java, Python, PowerShell or NET) and containerization strategies

References:
https://www.educative.io/blog/roadmap-to-cloud-engineer-jobs
https://www.educative.io/courses/cloud-computing-101-master-the-fundamentals

The goal of the project:
|Linux administration
Documentation reading
Architecture Building
Not so hardcore programming
If you don’t do project you will fail

 

2nd week:
We shared our topic name maybe we may change the topic name if needed.
Topic: Content Delivery Network with Kubernetes and Docker
We have 3 team members, Syed Ahmed Zaki, Daniel Von Barany, Kranthi kumar reddy Kasireddy
– We want to make a system in different server which distributes content like images, mp3, text known as content delivery networking
-We are very new to Kubernetes and Docker still researching about this
– We want to deploy in cloud maybe Minio in multi node environment or openNebula it is serverless
– It will be scalable
– Any of your suggestion Prof. ?
– My other team members and colleagues will share the details

Learned from Youtube this week about Docker and little bit Kubernetes

 

3rd week:
Notes from class lecture:
Heteregenous is better because one system and multi computer
Failover and Failback

Some multinode tutorials:
How docker works: https://aws.amazon.com/docker/

https://medium.com/@rubenafo/some-tips-to-run-a-multi-node-hadoop-in-docker-9c7012dd4e26

https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-node-deployments-with-rancher-2-1-kubernetes-and-docker-machine-on-ubuntu-18-04

https://medium.com/better-programming/build-your-own-multi-node-kubernetes-cluster-with-monitoring-346a7e2ef6e2

https://github.com/rubenafo/docker-spark-cluster

 

Difference Between multi-cluster, multi-master, multi-tenant & federated Kubernetes

 

https://www.mirantis.com/blog/multi-kubernetes-kdc-quick-and-dirty-guide/

Docker book: https://docker-curriculum.com/

Awesome projects from the Docker community

 

5th Week:
Professor will take final presentation on 29 January, 2021

6th week:

I am trying to upload daniels created docker image deploying into aws ec2 server. here the tutorials i am following.