-
Enable IAM Authentication in existing RDS using the link here: Enabling and Disabling IAM Database Authentication
-
Login to RDS with master username password.
mysql -h <RDS_ENDPOINT> --user <MASTER_USERNAME> --password
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
from grpc.beta import implementations | |
import tensorflow as tf | |
from tensorflow_serving.apis import predict_pb2 | |
from tensorflow_serving.apis import prediction_service_pb2 | |
from PIL import Image | |
import numpy as np | |
tf.app.flags.DEFINE_string('server', 'localhost:9000', |
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
# | |
# Configuration for Autoscaling group. | |
# | |
resource "aws_launch_template" "eks-cluster-worker-nodes" { | |
iam_instance_profile = { name = "${aws_iam_instance_profile.eks-cluster-worker-nodes.name}" } | |
image_id = "${data.aws_ami.eks-worker.id}" | |
name = "${var.cluster-name}-eks-cluster-worker-nodes" | |
vpc_security_group_ids = ["${aws_security_group.eks-cluster-worker-nodes.id}"] | |
key_name = "${var.ssh-key-name}" | |
instance_type = "${local.host-types[0]}" |
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
#!/usr/bin/env python3 | |
# Usage: GetZip.py 0.0.0.0 1337 [--xor 255] --md5 --parse | |
# Requirements: pip3 install tqdm pypykatz | |
import os | |
import socket | |
import zipfile | |
import hashlib | |
from argparse import ArgumentParser |