Completed

Docker, Kubernetes and WS

Akademi JPJ

Date
13 โ€“ 15 Sep 2021
Organised by
NQC
Trainer
Azman Zakaria
Attendees
2

Kursus ini berkonsepkan From Zero to Hero . Peserta dianggap pemula kepada Docker, Kubernetes dan AWS. Peserta seharusnya telah mempunyai asas dalam pengaturcaraan atau pengurusan sistem untuk mendapat hasil sepenuhnya dari kursus ini.

Temph kursus : 3 hari (13 -15 September 2021)
Lokasi : Online Video Conferencing 
Masa : 9 am - 5 pm

Tools yang akan digunakan didalam kelas ini adalah seperti berikut :-

  • Docker Desktop
  • Cmder
  • Git
  • Visual Studio Code

Dicadangkan PC / notebook yang akan digunakan ialah menggunakan Window 10 Home dengan RAM minimal 8 Gb, dan kapasiti Storage yang Free sebanyak min 10 Gb

Syllabus

Introduction

Docker is the next step beyond virtualization. A Docker image contains everything it needs to run, independent of the Linux / Windows / Mac server / PC on which it lives: a copy of the operating system, a database, code, configuration files, dependencies, and so on. Images can also be packaged and shared with other Docker admins. Here we will introduce the basics of Docker, including its containers, Dockerfiles (or base images), and capabilities for networking, data management, infrastructure optimization, and more.

When deployed with Amazon Elastic Container Service (AWS ECS), you have a solid foundation for monitoring and managing Docker containers, including starting containers and scheduling tasks. This frees up developers to concentrate on your container-based applications—instead of your hosting platform. In this course, the instructor will demonstrate how to use Docker and the powerful features in AWS to build and manage container-based applications. Learn how to create containerized applications, set up AWS ECS, manage container scale and network models, troubleshoot issues, and more.

What you will learn

  • Installing Docker on Mac, Windows, and Linux
  • Understanding the Docker flow
  • Running processes in containers
  • Managing, networking, and linking containers
  • Working with Docker images, volumes, and registries
  • Building Dockerfiles
  • Managing networking and namespaces with Docker
  • Building entire systems with Docker
  • Creating an Elastic Container Registry (ECR)
  • Automatically building new containers
  • Fargate vs. EC2 for containers
  • Configuring ECS for EC2 and Fargate
  • Deploying an app into ECS
  • Managing container scale
  • Adding an ECS service and task
  • Networking and storage
  • ECS metrics

Duration : 3 days

1.  Introduction

1.1  What is Docker?
 

2.  Installing Docker

2.1  Setting up Docker
2.2  Docker Desktop
2.3  Install Docker on Mac
2.4  Install Docker on Windows
2,5  Install Docker on Linux
 

3.  Using Docker

3.1  The Docker flow: Images to containers
3.2  The Docker flow: Containers to images
3.3  Run processes in containers
3.4  Manage containers
3.5  Exposing ports
3.6  Container networking
3.7  Legacy linking
3.8  Images
3.9  Volumes
3.10 Docker registries
 

4.  Building Docker Images

4.1  What are Dockerfiles?
4.2  Building Dockerfiles
4.3  Dockerfiles syntax
4.4  Multi-project Docker files
4.5  Avoid golden images

5.  Under the Hood

5.1  Docker the program
5.2  Networking and namespaces
5.3  Processes and cgroups
5.4  Storage
 

6.  Orchestration: Building Systems with Docker

6.1  Registries in detail
6.2  Intro to orchestration
6.3  Kubernetes in AWS
6.4  Google Kubernetes Engine
 

7.  Containerizing Applications

7.1  From app to containerized app
7.2  Create an ECR Registry
7.3  Create a CodeCommit Git repository
7.4  Push the container code to CodeCommit
7.5  Build the container from CodeCommit
7.6  Automate build on new commit
7.7  Challenge: Update a container
7.8  Solution: Commit a code change
 

8.  Set Up Amazon Container Service 

8.1  Fargate or EC2 for containers
8.2  Configure ECS for EC2
8.3  Enable SSH to EC2 for ECS
8.4  Configure ECS for Fargate
8.5  Deploy an app into ECS
8.6  Challenge: Scale the application
8.7  Solution: Scale with Fargate

9.  Managing Container Scale

9.1  Create an Application Load Balancer
9.2  Configure the default target route 
9.3  Add an ECS service and task
9.4  Enable auto scale parameters
9.5  Challenge: Adjust base capacity
9.6  Solution: Define auto scale minimums
 

10.  Networking

10.1  Managing network models
10.2  Modifying ECS EC2 security groups
10.3  Connect to EC2 ECS resources 
10.4  Challenge: Access an EC2 container
10.5  Solution: SSH and become root
 

11.  Storage

11.1  Container persistence models
11.2  Container mods for shared storage
11.3  Defining a shared volume: Fargate
 

12.  Troubleshooting

12.1  Discover container state
12.2  Explore ECS metrics
12.3  Determine SLB target state
12.4  Reviewing task logs
12.5  Challenge: Review an app log
12.6  Solution: Use the console to get logs


 

Trainer Profile

 Nama : Azman bin Zakaria
 Umur : 52 tahun
 Pengalaman Dalam Bidang IT : 21 Tahun
 Syarikat : Favourite Trainer Sdn Bhd
 Kelulusan :

  • Bachelor IT UiTM
  • Diploma Computer Science UiTM
  • HRDF Certified Instructor

Azman merupakan senior programmer yang passionate dalam bidang pengaturcaraan komputer dari awal mulai beliau bekerja pada tahun 2000 sehingga hari ini. Beliau mempunyai pengalaman bekerja yang luas di agensi kerajaan, swasta dan sebagai freelancer.
Antara pengaturcaraan yang selalu digunakan adalah seperti :

  • PHP (sejak tahun 2000)
  • PHP dan Laravel Framework
  • PHP dan Yii Framework
  • Coldfusion
  • Java 
  • Java dan Spring Boot Framework
  • Javascript
  • jQuery
  • Vuejs
  • Angular
  • Flutter

 

Notes

Click Here

WSL 2

 

git-scm.com

- utk download git client

AWS

 

install docker on Ubuntu 20
--------------------------
sudo apt-get update
sudo apt-get upgrade
sudo apt install docker.io
systemctl start docker
systemctl enable docker
sudo passwd ubuntu
sudo chmod 666 /var/run/docker.sock
docker --version


install docker compose
---------------------
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
 

Quiz

Log in with the account you registered for this training to take its quizzes.

Docker Container

Kuiz ini akan menguji kefahaman anda tentanf Docker dan Container

4 questions

Borang Penilaian Keberkesanan Latihan

Training evaluation ยท Docker, Kubernetes and WS

Log in with the account you registered for this training to fill in the survey.

Log in to fill in the survey

Attendance

Registration closed
This training ended on 15 Sep 2021, so new attendance can no longer be registered.

Students (2)

# Name
1. MOHD SHAIFUL NIZAM
2. Rosly bin Aman