Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/2019/Archives for May 2019

Archives for May 2019

May 27, 2019

Certbot AWS Renewals

Here are the instructions for renewing Certbot SSL certificates in AWS Certificate Manager. Certbot provides SSL certificates for free for 60 days and are auto-renewed before they expire. If you are using Certbot SSL certificates with CloudFront, you will need to reimport them to AWS Certificate Manager before expiration.

  1. Get the latest SSL certificate by running “certbot certificates.”
  2. Reimport the certificate in 3 parts.
    • Certificate Body – the root or top portion of the full chain
    • Certificate Private key – the private key
    • Certificate chain – the entire full chain containing multiple certificates
  3. Click Save. Check expiration.

You’ll need to update the certificate before the next expiration date.

Filed Under: Cloud Tagged With: aws, certbot, certificate manager, import, renewal, ssl

May 26, 2019

Differences between AWS, Azure and GCP

Here’s a side by side comparison of AWS vs. GCP, and AWS vs. Azure.

Filed Under: Cloud Tagged With: aws, gcp, services

May 23, 2019

AWS Assume Role

If you have multiple AWS accounts, you can gain additional permission by authorizing it to a different AWS account via IAM. Here’s the assume role documentation from AWS. And here are some documentation if you need to grant someone to switch accounts. If you are going to be using the AWS CLI, you will need to run “aws configure” to setup multiple profiles.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": "sts:AssumeRole",
            "Resource": [
                "arn:aws:iam::*:role/your-custom-role"
            ],
            "Effect": "Allow"
        }
    ]
}

{ "Version": "2012-10-17", "Statement": [ { "Action": "sts:AssumeRole", "Resource": [ "arn:aws:iam::*:role/your-custom-role" ], "Effect": "Allow" } ] }

Filed Under: Cloud Tagged With: accounts, assume role, aws

  • 1
  • 2
  • 3
  • …
  • 5
  • Next Page »
  • Cloud
  • Linux
  • Git

Copyright © 2012–2021