Article Image
Article Image

TL;DR It should be the first post in a series of Kops. So the intention of this post is to provide a guide to setting up a prod ready k8s on AWS using Kops , you need to know that exists lots of options to accomplish this using tools like techtonic, stackpoing, etc. But Kops seems to have gained a lot of traction and it’s an awesome FOSS project.

Prereq: In order to follow along with this guide, you need a couple of tools and an AWS account.

  • An AWS programmatic access and aws cli tool;
  • Kops installed on machine (latest version);
  • kubectl

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve --watch, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

$ aws ec2 create-vpc \
--cidr-block \
--region eu-west-1 { "Vpc": { "VpcId": "vpc-a55e77c1", "InstanceTenancy": "default", "Tags": [], "State": "pending", "DhcpOptionsId": "dopt-b8ee9cdd", "CidrBlock": "", "IsDefault": false } }

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll’s dedicated Help repository.

$ aws ec2 modify-vpc-attribute \
--vpc-id <VPC_ID> \
--enable-dns-hostnames "{\"Value\":true}" \
--region eu-west-1
$ aws ec2 create-internet-gateway \
--region eu-west-1
Blog Logo

Richardson Lima



Richardson Lima

Infra DevOps - A brain dump related to Infrastructure as a code, DevOps and Cloud.

Back to Overview