Code Monkey home page Code Monkey logo

klearnow_assignment's Introduction

cloudformation template "ci-cd-codepipeline.cfn".

Purpose of this template is to build dockerfile with given app.py in repository and deploy it over k8s cluster.

Prequisites : 1.) EKS Cluster with name eksworkshop-eksctl 2.) Role CodeBuildKubectlRole a.) CloudWatchLogsFullAccess b.) AWSCodeBuildAdminAccess c.) eks:Describe*" with trust relationship : arn:aws:iam::$(Account.id):role/service-role/codebuild-testBuild-service-role 3.) configmap/aws-auth with CodeBuildKubectlRole & NodeInstanceRole Example : apiVersion: v1 data: mapRoles: | - rolearn: arn:aws:iam::$(Account.id):role/NodeInstanceRole username: system:node:{{EC2PrivateDNSName}} groups: - system:bootstrappers - system:nodes - rolearn: arn:aws:iam::$(Account.id):role/CodeBuildKubectlRole username: build groups: - system:masters kind: ConfigMap 4.) Fork Github Repository https://github.com/kush2522/eks-workshop-sample-api-service-go.git (Username/Token)

Once the prerequisites are completed, Just upload the template file in cloudformation aws Service and it will take care of the rest.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.