DEPLOY A WEB APP TO THE CLOUD WITH AWS AMPLIFY AND AWS CDK

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 40

  • @pupeno
    @pupeno 2 года назад +1

    25 seconds in and you are talking about realistic and teams of devs. I like this already!

  • @gbisaga
    @gbisaga 2 года назад +2

    Hi Marcia, thanks for the video. It works great! I'm definitely interested in this subject. Trying to simplify things so that everything is managed from CDK and CDK Pipelines, and this is a great way to do it.

  • @user-ck8fx8pc5g
    @user-ck8fx8pc5g 2 года назад +1

    This is awesome! I was struggling to get the .env file dynamically created from cdk and the build commands that you had in amplify.yml is exactly what I was missing. Thank you so much

  • @guillermops09
    @guillermops09 3 года назад +1

    Congrats!!! Your videos are super useful!!! please continue delivering awesome content like this one!!!

  • @agnel0410
    @agnel0410 2 года назад +1

    Great Video, Could you also put a video on how to deploy into different accounts with different branches like dev, uat and prod with CDK,, amplify and react

  • @CloudNativeJanitor
    @CloudNativeJanitor 2 года назад

    Great videos as usual ;-). I would like to see more advanced use cases for Amplify, and what cons or limits Amplify has. Back in January you impressed us and pushed dev to use Amplify, it was like the solution to almost anything, what is the future, does it have limits, are there use cases where you need to use CDK and other tools along? I am not a dev, and always thought that Amplify Studio and Hosting abstracted almost everything. would love to hear and see more from you. keep being awesome

  • @ediancomachio2783
    @ediancomachio2783 3 года назад +2

    Great video! loved the content and your personality! What do you think about turning this into a series? for instance, adding AWS Cognito to the stack, and maybe after adding some social login. I would be very interested in that! thanks for your work it's amazing

    • @foobar_codes
      @foobar_codes  3 года назад +2

      Yes, that is the plan if there is interest in this content

  • @dan-mba1063
    @dan-mba1063 3 года назад +3

    I would love to see a similar video with Cognito. Pulling in auth from a CDK / SAM back-end to use with amplify is confusing.

    • @foobar_codes
      @foobar_codes  3 года назад +1

      So you want a video where i show how to create the cognito on the backend stack and use it in amplify?

    • @dan-mba1063
      @dan-mba1063 3 года назад +1

      @@foobar_codes Yes, I would love to know if there is an easier way to get settings from a backend into Amplify.configure() so you can use the amplify auth functions

    • @foobar_codes
      @foobar_codes  3 года назад

      Great

  • @TheKMZ1
    @TheKMZ1 2 года назад +1

    Why do you need CDK when amplify can do your push and publish for you, which builds and manages the cloudformation for you automatically? I have an amplify app which is a good sized app with several API's, many lambdas, auth, etc and have never used CDK. Thanks!

    • @foobar_codes
      @foobar_codes  2 года назад +1

      there are different use cases why you might want to have cdk, if you have a team for front end devs and backend devs then separation is good. Also when your infra becomes too complex, also CDK is good. But amplify in its own is great for the right problems :D

  • @tmazanhi
    @tmazanhi 3 года назад +2

    Thanks, Marcia. Great video!! Question: From the beginning of Amplify, what I have always loved was Amplify CLI where you just put in you GraphQL schema, and you have all that code generated for you. Where does that fit in here when using CDK? Can I still do codegen or now I have to write all the GraphQL code and the backend resolvers myself when mixing with CDK? Not clear for me…

    • @foobar_codes
      @foobar_codes  3 года назад +1

      Good question! I'm planning to answer this question with a follow up video on this series :)

    • @tmazanhi
      @tmazanhi 3 года назад +1

      @@foobar_codes Good answer :) Can't wait!!!

  • @ashishansurkar7849
    @ashishansurkar7849 2 года назад

    Great video, loved the content.... But just a question- when we deploye "amplify-infra" , it tries to connect to 'master' branch by default. how to specify if I want to connect amplify with github repo with 'dev' branch ? thanks

  • @luismoriguerra669
    @luismoriguerra669 3 года назад +1

    amazing!!! 🙌️

  • @MK-ef9iu
    @MK-ef9iu 3 года назад +1

    Thanks for your help. What if I want to use amplify for deployîg a static front end using jamstack approach but the back end is a CMS like strapi. How do you think can i Connect the front with the back end

    • @foobar_codes
      @foobar_codes  3 года назад +1

      No idea never used strapi. But you can always use the environment variables to keep the two separated

    • @MK-ef9iu
      @MK-ef9iu 3 года назад

      @@foobar_codes thx for the response, but what do you mean exactly by environement variables. the diffrence between what you did in your tutoriels and what I want to achieve is that you use lambda with amplify and i want to use an cms hosted in ec2 as my api backend that commincites with my front deployed through amplify

  • @seanknowles9985
    @seanknowles9985 Год назад +1

    We need to a onestop shop for all things amplify and CDK... still not clear to me how the separation.

    • @foobar_codes
      @foobar_codes  Год назад +1

      They are quite different things.
      - CDK is a infrastructure as code framework to define and deploy your infra
      - Amplify is many things (some of them are):
      1. is a hosting platform, as used in this demo
      2. is a set of libraries that help clients to connect to backend resources
      3. is a framework that allows you to create and deploy aws resources from cli (using Cloudfromation)

    • @seanknowles9985
      @seanknowles9985 Год назад

      @@foobar_codes still not clear to me is how to use cdk to create amplify projects. Then use the amplify projects with multiple frontend projects in a monorep... NX workspaces to be exact.

    • @seanknowles9985
      @seanknowles9985 Год назад

      @@foobar_codes So can developers use Amplify CLI at all or do need to provision all resources with CDK. This is the thing, we have two ways of doing this yet its not clear the boundary of if we should stick to managing all infra creation with CDK or if we can mix and match Amplify CLI with CDK. Is there a best practice?

  • @walterdiurno8951
    @walterdiurno8951 3 года назад +1

    Very interesting video. I have a question if you don't mind. You have a button to trigger the lambda function. What about using an existing lambda function the received a stream of data changed from DynamoDB Streams ? Can it be set up similarly ?

    • @foobar_codes
      @foobar_codes  3 года назад

      Sure. But this is a simple demo. You can use dynamo streams to trigger lambda for sure

    • @walterdiurno8951
      @walterdiurno8951 3 года назад

      @@foobar_codes Thank for you reply. I am getting a nasty error, when using cdk deploy. It's a "issue in setting up your repository ... 401 , unauthorized .. Have you ever get something like that ? Also in your previous video cdk pipeline, the bootstrap command (npx cdk bootstrap ...) show an error "CloudFormation-execution-policies can only be passed for the modern bootstrap experience). What version of npx , cdk are you using ? I have 7.16.0 and 1.107. Thank You

    • @walterdiurno8951
      @walterdiurno8951 3 года назад

      Problem solved. Now it works fine.

  • @manqobadlamini2207
    @manqobadlamini2207 3 года назад

    Great video, might be worth noting that the secretes manager token needs to be saved as a string. Else the build fails.

  • @jonnybravo9824
    @jonnybravo9824 3 года назад

    hola great!

  • @StephenRayner
    @StephenRayner 3 года назад

    We used Amplify on a project. Didn’t work out for us, only basic applications are suitable. Even then it’s a pain in the arse.
    If you want typescript in your lambda functions look else where unless you are comfortable committing js files too

    • @foobar_codes
      @foobar_codes  3 года назад

      what you were trying to do? Why it didn't work?

  • @TechRally
    @TechRally 3 года назад

    Awesome content! Btw the github link does not work

    • @foobar_codes
      @foobar_codes  3 года назад

      ohh great catch! The repo was set as private, but now it should be visible for everybody