Sigue los pasos detallados a continuación. Cada paso debe completarse en tu terminal o herramienta de Git. Al final, incluye las capturas de pantalla de los comandos solicitados como prueba de tu trabajo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: This template deploys a VPC, with | |
A pair of public and private subnets spread across two Availability Zones. | |
It deploys an internet gateway, with a default route on the public subnets. | |
It deploys an Ec2 with WordPress and EC2 MySQL RDS | |
It Needs The KeyPairs | |
LONG Version - With Multi AZ and RR - It deploy in almost 30 min | |
LITE Version - Whitout Multi AZ and RR - It deploy in only 3 min max | |
Parameters: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# other | |
alias k='kubectl' | |
alias kl='kubectl logs' | |
alias kexec='kubectl exec -it' | |
alias kpf='kubectl port-forward' | |
alias kaci='kubectl auth can-i' | |
alias kat='kubectl attach' | |
alias kapir='kubectl api-resources' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Material extra by @roxsross | |
#https://cheatography.com/romeodol/cheat-sheets/comandos-de-terminal-linux/ | |
#https://terminaldelinux.com/assets/terminal-cheatsheet.pdf | |
#https://www.hostinger.com.ar/tutoriales/linux-comandos | |
#https://bit.ly/roxstop50linux | |
#https://bit.ly/roxsbashes | |
date #devuelve la fecha actual | |
echo "mensaje" #comando para mostrar un mensaje en la pantalla |
50 ejercicios de comandos de Linux con soluciones, centrados en enfoque DevOps.
1. Mostrar la versión de Linux que estás utilizando.
$ uname -a
2. Listar todos los archivos en el directorio actual.
$ ls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: 'AWS::Serverless-2016-10-31' | |
Description: Yaml template to stop AWS Services like RDS, Aurora, EKS in scheduled interval | |
Parameters: | |
#general params | |
ScheduleExpression: | |
Type: String | |
Description: Schedule expressions using cron | |
Default: cron(30 4 * * ? *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Python automation with ChatGPT byRoxsRoss | |
### DEFINED VARIABLE OPENAI_API_KEY | |
export OPENAI_API_KEY=your-key-here | |
### GENERATE PYTHON CODE from Open AI | |
python3 chatgpt.py "leer version package.json" "script.py" | |
""" |
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example,vagrant init ubuntu/trusty64
.
vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)
NewerOlder