Creating a Role Create Policy using AWS Policy Generator Type -> IAM Policy AWS Service -> Amazon SES Actions -> SendEmail, SendRawEmail ARN -> * Click Add Statement Click Generate Policy Copy and save the text { “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “Stmt1638644864547”, “Action”: [ “ses:SendEmail”, “ses:SendRawEmail” ], “Effect”: “Allow”, “Resource”: “*” } ] }…
Author: Andy Jenkins
Using AWS Lambda to enable static IP addresses for Application Load Balancers
Just running through a blog on AWS… I will be contrasting and comparing different ways to make it go. Here is the link to the blog I followed:https://aws.amazon.com/blogs/networking-and-content-delivery/using-aws-lambda-to-enable-static-ip-addresses-for-application-load-balancers/ We need some infrastructure upfront to start this: Network Load Balancer (NLB) that has an IP based target group Internal Application Load Balancer (ALB) The ALB and…
Python, boto3 and AWS alike
This should be fun… This is my python and boto3 hello world. I have never touched these let’s see what we get. Personally I wish perl had won. With the said here is it the link I am going to use. https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html Installation PythonBoto Mac: sudo apt update…
Install Terraform
Here is the HashiCorp tutorial link… Install Terraform Here is my output on a cloud9 host: bitnami@ip-172-26-15-161:~$ sudo apt-get update && sudo apt-get install -y gnupg … (a bunch of output) bitnami@ip-172-26-15-161:~$ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add – OK bitnami@ip-172-26-15-161:~$ sudo apt-add-repository “deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main” bitnami@ip-172-26-15-161:~$ sudo apt-add-repository “deb [arch=amd64] https://apt.releases.hashicorp.com…
Configure node-pressure-eviction kOps
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. Here are the edits we need to make to the cluster config in kubelet. kubelet: victionHard: memory.available
k8s with kops and terraform
kOps kubernetes AWS account Source Control is nice to have also… Links: https://github.com/kubernetes/kops/blob/master/docs/getting_started/aws.md I assume you are at a console with the AWS cli installed and connected to an account. Create a route53 domain for your cluster Already completed… need to populate. Create an S3 bucket to store your clusters state Already completed……