How to deploy Docker Applications on GCP via the gcloud cli [Tutorial]
Part 1: https://youtu.be/RScVUaNHNxs
Link to the written tutorial on my blog:
https://www.pascallandau.com/blog/gcp-compute-instance-vm-docker/
Link to the branch of the Github repository:
https://github.com/paslandau/docker-php-tutorial/tree/part-8-gcp-compute-instance-vm-docker
Overview of all tutorials:
https://www.pascallandau.com/docker-php-tutorial/
Playlist of all tutorials:
https://www.youtube.com/watch?v=YYI5mTjFDuA&list=PLScVLZNShARRTO-ebug0yzbiXDxtw0rtg
This video is a step-by-step instruction to deploy your first Docker container on a Google Cloud Platform (GCP) Compute Instance VM through the gcloud cli command line utility.
It is still required to manually create a GCP project as well as a "master" service account with the "Owner" role.
This service account is then used to
- enable the necessary APIs
- create a "deployment" service account incl. key file
- assign the required roles to it
- create a Compute Instance VM with the corresponding firewall rules
Once the infrastructure is up an running, the "deployment" service account is used to privision the VM, i.e.
install Docker and ensure that the root user is properly authenticated to pull images from the container registry.
Afterwards, a deployment is performed that
- builds a customer nginx docker images
- pushes it to the registry
- transfers a script to the VM that
-- pulls the image
-- starts a container
Finally, all steps are put into two scripts (provision.sh and deploy.sh) so that the whol process can run fully unattended
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to deploy Docker Applications on GCP via the gcloud cli [Tutorial]», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.