Professional Documents
Culture Documents
Cloud Devops
Cloud Devops
version=22.04.4&architecture=amd64
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-
ubuntu-20-04
sudo systemctl status Docker
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli
https://helm.sh/docs/intro/install/
https://github.com/
anancy.lopezt@outlook.com
AmeliaLT
https://discord.gg/MTyHHZj8
https://discord.gg/MTyHHZj8
CLASE 4
https://docs.docker.com/reference/dockerfile/
ACCESS-KEY: AKIA5FTZESCJPYAAJ3ET
Secret-key: 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
region:
FROM nginx
RUN apt-get update -y
COPY index.html /usr/share/nginx/html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CONTENEDOR RODRI</title>
</head>
<body>
</body>
</html>
Docker image ls
Aws configure
ACCESS_KEY: AKIAU6GDUVYZXVU6N7XN
Secret-key: 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
USER: cloud-devops
PASS: Cloud-devops
URL: https://339712716339.signin.aws.amazon.com/console?region=us-east-1
provider "aws" {
region = "us-east-1"
access_key=”AKIAU6GDUVYZXVU6N7XN”
secret_key=”PIRXnGbjMCy2Gq23xt0KpGUPjrEvjGloXcbFSrME”
}
User_data=<<EOF#! /bin/sh
yum update -y
amazon-linux-extras install docker
service docker start
usermod -a -G docker ec2-user
chkconfig docker on
>EOF
user_data = <<EOF
#! /bin/sh
yum update -y
amazon-linux-extras install docker
service docker start
usermod -a -G docker ec2-user
chkconfig docker on
EOF
Invalid expression
https://github.com/Rodrigo-Cuello/cloud-devops
https://docs.google.com/document/d/1jt8hroXJkvWfBYJ9b-
s3pGECZV6P4FqGVQsYAvzRky0/edit
usermod -a -G docker
sudo -s
http://localhost:8080/api/v1
http://localhost:8080/api/v1/namespaces/labo/pods/nginx
kubectl port-forward nginx 8080:8080 -n labo