LocalStack Explained: Simulate AWS Services for Seamless Development

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

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

  • @KodeKloud
    @KodeKloud  Месяц назад

    🚀Explore Our Top Courses & Special Offers: kode.wiki/40SkWyU

  • @adedayoabdulahi1399
    @adedayoabdulahi1399 Год назад +13

    All these tools are overwhelming
    that’s why devops is so massive
    Thanks Sanjeev

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

      Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : )

  • @tinashemadangure8140
    @tinashemadangure8140 Год назад +5

    Mind-blowing perfect for home labs.

  • @raghuveer120
    @raghuveer120 Год назад +3

    Waiting for this video. Thanks for doing this video

  • @vetri4music471
    @vetri4music471 Год назад +2

    That's just awesome 😎👍

  • @rip182
    @rip182 8 месяцев назад

    Man You Are Good at explaing things just CLICKED SUBSCRIBED!!!!

  • @brian.a.0213
    @brian.a.0213 3 месяца назад

    Couple questions: 1) does this account for things like an account’s reserved concurrency limit? , 2) does this actually return errors, say your tfstate is out of sync and you try to create a resource that already exists, will it catch that? 3) Say you misconfigured a permission, such as a lambdas ability to access a db, I imagine this won’t catch errors like that, correct? 4) What is the difference between just running terraform plan instead of using local stack?

  • @tonyc2227
    @tonyc2227 11 месяцев назад +1

    It seems like we need to have to copies of the .tf file. One with the endpoints pointing to local stack and one without so it can communicate with aws. Is there a way to make it easier to combine the two .tf files so the transition from testing to deployment is easier ?

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

    Thanks for introducing the LocalStack, it sounds helpful. I wanted to test the Cloud Formation Scripts locally before I can apply them in AWS directly. Does this help ?

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

      Yes it does. This is one of the main benefits of using LocalStack.

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

    Thanks for the explanations and demo. I just have one question, how does this work with sdks like the go-sdk-v2? Do we still have to create mock interfaces in go code?

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

      You shouldn't have to change anything. It will work the same way as if you were talking to the real aws api.

  • @PurushottamSingh-cz4dq
    @PurushottamSingh-cz4dq 16 дней назад

    How od I use https for endpoint

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

    This video is awesome. So it seems it works only for AWS. Is there any other such tool which works for Azure?

    • @KodeKloud
      @KodeKloud  Год назад +2

      Although there is not an equivalent of LocalStack for Azure, Microsoft publish three emulators you can run locally to help with integration testing:
      1. Azure Function Core Tools
      2. Azure Storage Emulator
      3. Cosmos DB Emulator

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

      Please refer to stackoverflow.com/questions/53888830/local-cloud-stack-for-azure-similar-to-localstack-for-aws

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

    Thanks, does it have a console output?

    • @KodeKloud
      @KodeKloud  9 месяцев назад

      Yes, it outputs logs to the console, showing the status of the services being started, any errors, and other runtime information

  • @bugsbunny3354
    @bugsbunny3354 8 месяцев назад

    how can you simply display a page using this ec2 like nginx on port 80 to see a sample page?

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

    To what extend can I use LocalStack to practice for my AWS Certifications?

    • @harshcasper
      @harshcasper Год назад +2

      You can use it since its a local cloud sandbox that closely emulates the real AWS environment.

    • @KodeKloud
      @KodeKloud  10 месяцев назад +1

      LocalStack is useful for hands-on practice with AWS services when preparing for AWS certifications, as it allows you to interact with mock versions of various AWS services like S3, EC2, and Lambda locally, without incurring any costs. However, it's not a complete substitute for the AWS environment. LocalStack might not support some advanced features and newer AWS services, and there can be differences in service behavior. For comprehensive AWS certification preparation, you should also use AWS's documentation, the AWS Free Tier for real-world experience, and other study materials to cover theoretical knowledge, best practices, and areas not fully replicated in LocalStack. In essence, while LocalStack is beneficial for practical learning, it should be complemented with additional resources for a well-rounded preparation.

  • @bgadicha1
    @bgadicha1 10 месяцев назад

    How do I get to know the IP address of the ec2 instance I created? The localstack log does not show it.

    • @brian.a.0213
      @brian.a.0213 3 месяца назад

      Localstack does not create an actual ec2, so there wouldn’t be an IP address I assume

    • @souravsaha3580
      @souravsaha3580 3 месяца назад

      @@brian.a.0213 so why would anyone want to run localstack if it's not going to let a user test codes in a VM? i mean, what is the point of mimicking the frontend of AWS then?

    • @brian.a.0213
      @brian.a.0213 3 месяца назад

      @@souravsaha3580 I’m assuming it is just for testing your infrastructure deployment with no risk. Idk if it makes any sense to use if that’s the case. I could be wrong

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

    It seems that it doesn't work if you don't have an AWS_API_KEY even with localstack it will ask for credentials so with no access to real aws it seems not working, that's what I am facing

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

      We had no issues using it without a key. Can you try provided in the access and secret key but leave the values to an empty string: "" and see if that works

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

    Great. What if we actually want to plug some back end behind the API?
    Like
    - creating a folder somewhere for an S3 bucket.
    - kicking off a VM with our AMI for an EC2 instance...
    - or even ckick off a local "EKS Anywhere" instance.
    Does Localstack support this? You know like a plugin architecture stuff. With community contribs.
    It should really. That's the first idea any geek would have.

    • @harshcasper
      @harshcasper Год назад +4

      The video was great, but missed some crucial parts (explained in a separate comment above). LocalStack does work with an actual backend behind all AWS APIs and it would be pretty easy to emulate all your examples (we do that for our customers regularly). LocalStack is a commercial open-source project, and while we do get community contributions, we do have our own engineering team working on improving the APIs and adding emulation layers for new AWS services. Internally, LocalStack follows a plugin architecture (powered by our own framework called Plux), and this gives additional features like LocalStack Extensions. You can use the Extension mechanism to further extend LocalStack, and add support for new cloud providers. We recently shipped Cloudflare Workers support with LocalStack through the Extension mechanism :)

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

      LocalStack is a tool designed to emulate various AWS services for local development and testing purposes. So the answer is no. Hopefully, we can have this feature in the future.