import sys
import urllib.request, urllib.error, urllib.parse
import boto3
region = 'us-east-1'
def lambda_handler(event, context):
print('## Iniciando health check demo')
client = boto3.client('elbv2')
targetResponse = client.describe_target_health(
This file contains hidden or 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 | |
# docker + docker-compose | |
echo "starting docker installation" > /home/ubuntu/start.log | |
{ # try | |
sudo apt-get update | |
sudo apt-get -y install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ |