Giter Club home page Giter Club logo

aws-modernization-with-pulumi's Introduction

Pulumi Modern Infrastructure as Code

This workshop teaches you Modern Infrastructure as Code (IaC) concepts through a series of hands-on labs, using Pulumi. Topics covered include IaC fundamentals, in addition to application architectures and how to use IaC to create, update, and manage them.

Building the Website

This site is built with Hugo, so you'll need it installed

First, clone this repo:

git clone [email protected]:aws-samples/aws-modernization-with-pulumi.git

Ensure you've also cloned the submodules:

git submodule init
git submodule update

Then serve the website with Hugo:

hugo server

Learning Objectives

  • Getting started with Pulumi
  • Deploy AWS EC2 Compute Infrastructure
  • Deploy AWS ECS Infrastructure
  • Deploy AWS EKS Clusters
  • Deploy applications to AWS EKS Cluster

aws-modernization-with-pulumi's People

Contributors

amazon-auto avatar jamesbland123 avatar jaxxstorm avatar jkodroff avatar lukehoban avatar mariswa avatar mattstratton avatar mikemcd3912 avatar nimbinatus avatar parkand1 avatar slnowak avatar stack72 avatar yanivbos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-modernization-with-pulumi's Issues

Missing s3 policy for lambda typescript tutorial

Hi,
I've been trying to port the typescript lambda tutorial (https://pulumi.awsworkshop.io/40_lambda_microservices_ts/20_getting_started_with_pulumi.html) to java and encountered some issues during the process.

There seems to be some permission issues - my thumbnailer lambda was not able to manipulate s3 bucket without explicitly adding the following policy:

            var s3AccessPolicy = new Policy("lambdaS3Access", PolicyArgs.builder()
                    .policy(bucket.arn().applyValue(buketArn -> """
                            {
                              "Version": "2012-10-17",
                              "Statement": [
                                {
                                  "Effect": "Allow",
                                  "Action": "s3:*",
                                  "Resource": ["%s", "%s/*"]
                                }
                              ]
                            }""".formatted(buketArn, buketArn)))
                    .build());

So basically, I needed to grant explicit access to both the bucket and all the elements of the bucket and aws.iam.ManagedPolicy.LambdaFullAccess was not enough to cover this.

Can anyone please check if this particular example actually works as it is?

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.