¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

Deploying Docker Containers from AWS and GCP to SAP Cloud Foundry: Step-by-Step Guide

  • Creado 01/03/2024
  • Modificado 01/03/2024
  • 81 Vistas
0
Cargando...


This blog post focuses on the deployment of an application using Docker Container on SAP Cloud Platform Cloud Foundry (CF).

Cloud Foundry supports deployment of docker container from below container registry:

  1. Docker Hub

  2. Amazon Web Services Elastic Container Registry (AWS ECR)

  3. Google Container Registry (GCR)


Concepts of Containerization, Virtualization, and Life cycle of Docker containers can be found here .

SAP Cloud Platform Cloud Foundry is a Multi-Cloud Business Technology Platform that supports Docker Containers, Kubernetes for virtualization, and containerization.

There are many blogs explaining deployment from Docker Hub to SAP Cloud Platform Cloud Foundry, but I could not find any blog or documentation for AWS and GCP. So, I decided to write this blog by consolidating steps to deploy the docker image from AWS and GCP.

This blog is an attempt to provide simple, systematic but detailed steps to deploy docker containers from AWS and GCP to SAP Cloud Foundry.

What will we do?




  • Build Docker Image

  • Test Docker Image Locally

  • Push Docker Image to AWS ECR

  • Push Docker Image to Google Cloud Platform Container Registry

  • Deploy Docker Image to SAP Cloud Platform Cloud Foundry from AWS

  • Deploy Docker Image to SAP Cloud Platform Cloud Foundry from Google Cloud Platform Container Registry


Assumptions and Pre-requisites:

So, before starting I am assuming a few things, you can take them as initial requirements.

  • Docker Desktop is Installed

  • SAP CF CLI installed

  • You have App ready for deployment

  • You have AWS account

  • You have GCP account

  • You have AWS CLI installed

  • You have Google cloud SDK installed




Help Links:



















Docker Desktop https://www.docker.com/products/docker-desktop
Google Cloud SDK https://cloud.google.com/sdk/docs/downloads-versioned-archives
AWS CLI https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html#cliv2-windows-install
SAP Cloud Foundry CLI https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/4ef907afb1254e8286882a2bdef...





Step 1: Build a docker image

We will use sample code available at https://hub.docker.com/

Demo code is available on Git Link: https://github.com/docker/getting-started

Clone the project from git as below




Let us build the docker image as below

Pedro Pascal
Se unió el 07/03/2018
Pinterest
Telegram
Linkedin
Whatsapp

Sin respuestas

No hay respuestas para mostrar No hay respuestas para mostrar Se el primero en responder

contacto@primeinstitute.com

(+51) 1641 9379
(+57) 1489 6964

© 2024 Copyright. Todos los derechos reservados.

Desarrollado por Prime Institute

¡Hola! Soy Diana, asesora académica de Prime Institute, indícame en que curso estas interesado, saludos!
Hola ¿Puedo ayudarte?