Visa2Learn
Visa2Learn
  • 28
  • 93 270
Integrate Spring Boot application with AWS SNS/SQS using localstack
In this video, we will see how to integrate a spring boot application with AWS SQS/SNS but in the local environment using localstack. We will create a SNS topic, a SQS queue and create SNS subscription with sqs as the protocol. We will demo how to publish notifications to SNS topic. Demo will also cover pushing/listening messages to/from SQS queue
Github code: github.com/visa2learn/spring-cloud-aws-sns-sqs-localstack
Reference links:
aws.amazon.com/sns/
aws.amazon.com/sqs/
docs.aws.amazon.com/sns/latest/dg/sns-sqs-as-subscriber.html
docs.localstack.cloud/overview/
spring.io/projects/spring-cloud-aws
awspring.io/
docs.aws.amazon.com/sns/latest/dg/sns-large-payload-raw-message-delivery.html
#springboot #springcloudaws #localstack #sqs #sns
มุมมอง: 2 717

วีดีโอ

OpenAI ChatGPT API call using Spring Boot | ChatBot API using Java
มุมมอง 4.2Kปีที่แล้ว
This video will demo how a spring-boot application can invoke OpenAI ChatGPT APIs authenticated using Bearer token api key. TIMESTAMPS 00:00 Introduction 00:24 API reference docs 00:38 Authentication api key 02:03 GPT Models 03:15 Chat completions api 05:30 Spring boot code and demo 12:00 Outro References: platform.openai.com/docs/models/overview platform.openai.com/docs/api-reference/chat/crea...
Secrets Store CSI driver | AWS Secrets Manager Binary Secret |
มุมมอง 1.6Kปีที่แล้ว
This video covers the use case where applications want to use binary secrets like certificates, jks file, .p12 file, .pem file etc. and have these available on the file system for it to consume. We will cover Secrets Store CSI driver and the AWS provider and the secrets would be stored on AWS secrets manager which will be made availabe to Pod running on EKS as a volume/volume-mount. The applica...
Spring Boot 3.0 integration with AWS Secrets Manager | Spring Cloud AWS
มุมมอง 7Kปีที่แล้ว
This video covers integration of Spring Boot 3.0 application with AWS Secrets Manager. It has a demo which illustrates how a secret stored in secrets manager is injected into the Spring boot application properties. TIMESTAMPS 00:00 Introduction 00:30 Project setup 00:57 Maven dependency spring-cloud-aws-starter-secrets-manager 01:50 properties file 02:27 Running the application 05:30 Create sec...
Spring boot connectivity to AWS RDS PostgreSQL using IAM | AWS Advanced JDBC Wrapper
มุมมอง 7Kปีที่แล้ว
This video will demonstrate how to connect a java spring boot application to an AWS Aurora RDS PostgreSQL database using IAM authentication without the need for database password. We will be using aws-advanced-jdbc-wrapper jdbc which will check and refresh the token whenever you establish a new connection or when the existing token has expired Source Code: github.com/visa2learn/spring-boot-post...
IAM Roles for Service Accounts | Learn about IRSA with demo in 20 mins
มุมมอง 14K2 ปีที่แล้ว
This video is about IRSA (IAM roles for Service Accounts). It talks about what is IRSA, benefits of IRSA, how IRSA ties together elements from AWS IAM, OpenID Connect (IdP), K8s Service Accounts and Pods, followed by hands on demo. References: docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-a...
Update AWS security group ingress rules using CLI with current IP address
มุมมอง 1.5K2 ปีที่แล้ว
Does your public IP keep changing? This video will show how to automate updating the AWS security group inbound rules with your new IP using AWS cli. Prequisites: Install AWS CLI - docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html Install jq - stedolan.github.io/jq/download/ References: docs.aws.amazon.com/cli/latest/reference/ec2/revoke-security-group-ingress.html docs.aws....
Kubernetes StatefulSets | Kubernetes Simplified
มุมมอง 7032 ปีที่แล้ว
This video is about what StatefulSet is, what are its use cases, why its needed, followed by hands on demo. It will highlight the differences between deployment and a statefulset mainly in how each pod gets its Persistent Volume Claim (PVC). It will also discuss why a headless service is required and verify that it adds DNS SRV records for each pod within the statefulset. TIMESTAMPS 00:00 Intro...
AWS CLI | Command Line Interface | Hands-on demo
มุมมอง 6472 ปีที่แล้ว
This video demonstrates how to use the AWS CLI from your Linux or Windows terminal. It shows an example of how to use the access key and the secret access key to configure the aws cli. It shows outputs returned for some of the IAM, S3 and EC2 services. TIMESTAMPS 00:00 Introduction 00:23 WSL2 and Windows Terminal 01:00 Install AWS CLI on Linux 02:55 Install AWS CLI on Windows 04:52 AWS CLI user...
AWS Identity and Access Management | IAM | Users Groups Roles Policies
มุมมอง 2332 ปีที่แล้ว
This video talks about AWS Identity and Access Management (IAM). It will discuss what IAM is all about, what are its features, what are the different types of IAM identities and what are policies. Finally it has hands on demo showing how to use IAM service from the AWS management console. TIMESTAMPS 00:00 Introduction 00:16 What is IAM and its features? 01:18 IAM Identities (Users, Groups, Role...
Create your AWS Free Tier account | Try out AWS services free of charge
มุมมอง 3042 ปีที่แล้ว
This video shows you how to create your AWS Free Tier account which is free for 12 months. The AWS Free Tier provides customers the ability to explore and try out AWS services free of charge up to specified limits for each service. Note that you would need a Credit or Debit card before you proceed to create a free account. TIMESTAMPS 00:00 Introduction 00:50 Go to AWS Free Tier Website 01:07 Si...
CAP Theorem | Consistency Availability and Partition Tolerance | System Design Interview
มุมมอง 3022 ปีที่แล้ว
This video is about CAP theorem which is used in System Design to decide which database to use, based on the requirements. CAP theorem states that any distributed data store can only provide two of the following three guarantees: Consistency, Availability, and Partition Tolerance. Most likely, you will need to use CAP theorem in System Design interviews where you will need to pick some kind of ...
Kubernetes Service | Endpoints | Kubernetes Simplified
มุมมอง 1.7K2 ปีที่แล้ว
This is the third video in the series Kubernetes Simplified. In this we will understand the kubernetes Service objects/resources. Timestamps 00:00 Introduction 00:08 Need for Service 00:51 What is a Service? 01:29 Types of Services 02:42 Demo 15:33 Outro #kubernetes #kubernetestutorial #k8s #cloudnative #microservices #service
Kubernetes Nodes, Deployment, Pods | Kubernetes Simplified
มุมมอง 3072 ปีที่แล้ว
This is the second video in the series Kubernetes Simplified. In this we will understand the nodes, deployment and the pods objects/resources. Timestamps 00:00 Introduction 00:23 Masters and Worker nodes 01:17 Packaging application 01:56 What is deployment resource? 02:53 Docker desktop installation 03:23 Spring boot create docker image 04:38 Sample deployment.yaml 06:45 demo with kubectl comma...
Kubernetes Simplified | Kubernetes introduction
มุมมอง 2152 ปีที่แล้ว
This is the first video in the series Kubernetes Simplified. In this we will understand the need for Kubernetes, its origins, what Kubernetes is, what it provides, and what it doesn't. Timestamps 00:00 Introduction 00:16 Understand the need for K8s 02:33 Origins of Kubernetes 03:21 What is Kubernetes 04:35 What does Kubernetes provide 05:36 What Kubernetes does not... 06:19 Outro References: ku...
Docker Simplified | Docker in simple terms | Learn docker in 20 mins
มุมมอง 952 ปีที่แล้ว
Docker Simplified | Docker in simple terms | Learn docker in 20 mins
AWS Load Balancer Controller overview | Reuse the same ALB for multiple Ingress resources
มุมมอง 16K2 ปีที่แล้ว
AWS Load Balancer Controller overview | Reuse the same ALB for multiple Ingress resources
AWS Introduction | Overview of key AWS services | 20,000 Ft. Overview of AWS services
มุมมอง 542 ปีที่แล้ว
AWS Introduction | Overview of key AWS services | 20,000 Ft. Overview of AWS services
Consumers Suppliers Predicates Functions | java.util.function interfaces | Lambda expressions
มุมมอง 5672 ปีที่แล้ว
Consumers Suppliers Predicates Functions | java.util.function interfaces | Lambda expressions
Lambda Expressions in Java 8 and above | Functional Interfaces
มุมมอง 252 ปีที่แล้ว
Lambda Expressions in Java 8 and above | Functional Interfaces
Helm Library Charts | Reusable charts demo | Advanced Helm
มุมมอง 4.1K2 ปีที่แล้ว
Helm Library Charts | Reusable charts demo | Advanced Helm
Install a sample application and Mesh it using Linkerd | Linkerd tutorial | Troubleshooting app
มุมมอง 9952 ปีที่แล้ว
Install a sample application and Mesh it using Linkerd | Linkerd tutorial | Troubleshooting app
Install Linkerd into your Kubernetes cluster | Linkerd Setup on Docker Desktop | Linkerd tutorial
มุมมอง 1.2K2 ปีที่แล้ว
Install Linkerd into your Kubernetes cluster | Linkerd Setup on Docker Desktop | Linkerd tutorial
Introduction to Linkerd | What is Linkerd? | Linkerd tutorial
มุมมอง 1.3K2 ปีที่แล้ว
Introduction to Linkerd | What is Linkerd? | Linkerd tutorial
Learn advanced Git in under 16 mins | Advanced git tutorial | Git CLI
มุมมอง 962 ปีที่แล้ว
Learn advanced Git in under 16 mins | Advanced git tutorial | Git CLI
Install/Uninstall Windows Subsystem for Linux (WSL) Ubuntu distribution on Windows 10, 11
มุมมอง 15K2 ปีที่แล้ว
Install/Uninstall Windows Subsystem for Linux (WSL) Ubuntu distribution on Windows 10, 11
SpringDoc OpenAPI 3.0 Swagger UI for Kubernetes | Centralized Swagger UI for all microservices
มุมมอง 7K2 ปีที่แล้ว
SpringDoc OpenAPI 3.0 Swagger UI for Kubernetes | Centralized Swagger UI for all microservices
Postgres DB credentials rotation using Spring Cloud Vault | Spring Boot | Hashicorp Vault
มุมมอง 5K2 ปีที่แล้ว
Postgres DB credentials rotation using Spring Cloud Vault | Spring Boot | Hashicorp Vault

ความคิดเห็น

  • @MadhvendraDixit
    @MadhvendraDixit วันที่ผ่านมา

    is it possible to have a one on one meet with you? I had some issues setting secrets as environment variable for a service deployed on EKS cluster and secrets stored in aws secrets manager?

  • @code-for-mars
    @code-for-mars หลายเดือนก่อน

    Great Explanation , Thanks

  • @csamarnathreddy
    @csamarnathreddy หลายเดือนก่อน

    Is SSL mandatory to connect to RDS through IAM role?

    • @visa2learn
      @visa2learn หลายเดือนก่อน

      No but its highly recommended for security reasons

  • @aidataverse
    @aidataverse หลายเดือนก่อน

    1000 likes from my side

  • @aidataverse
    @aidataverse หลายเดือนก่อน

    Very good excellent , you saved a lot of my time.

    • @visa2learn
      @visa2learn หลายเดือนก่อน

      Glad to hear that

  • @vastavikgymrat
    @vastavikgymrat 2 หลายเดือนก่อน

    This is Gold video bro..

  • @georgnovotny9785
    @georgnovotny9785 3 หลายเดือนก่อน

    Thanks for the great tutorial! Is it possible to use kustomization to create the myappchart chart while the myappchart and the mylibchart are only on the local filesystem and not pushed to a helm registry? Thanks in advance

  • @tattushenoi
    @tattushenoi 4 หลายเดือนก่อน

    This is not working as of today. Error says certificate not found on path. What I tried. Downloaded the GitHub code as is, just changed the end point of db url in app properties. Built code, built docker, deployed on eks. Created role and policies correctly. Us east 2 region and us east 2 bundle pem certificate file.

  • @Natirajaprajapati
    @Natirajaprajapati 4 หลายเดือนก่อน

    plz give me source code

  • @piumidesh
    @piumidesh 4 หลายเดือนก่อน

    can we use multiple consumers and multiple producers using one queue.how to identify that messages these are for one consumer and these are for another consumer

    • @visa2learn
      @visa2learn 4 หลายเดือนก่อน

      What you can do is use SNS and add multiple SQS as subscribers to this single SNS topic and then add a message filtering in SNS to route the message only to specific queues depending on what the message is. docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html

  • @TheBestDanceMoves
    @TheBestDanceMoves 5 หลายเดือนก่อน

    The parameter -fsL gives me an error

  • @Aditya-wj5gy
    @Aditya-wj5gy 5 หลายเดือนก่อน

    nice explaination!

    • @visa2learn
      @visa2learn 5 หลายเดือนก่อน

      Glad you liked it!

  • @anakhaaniejose4135
    @anakhaaniejose4135 5 หลายเดือนก่อน

    Can I use spring-cloud-aws-sqs dependency instead of starter dependency? But when using that my listener doesn't seem to work. is there is particular reason for using starter dependency?

    • @visa2learn
      @visa2learn 5 หลายเดือนก่อน

      Yes the starter dependency auto-configures the SQS integration beans. So those objects are created during application startup. If you do not use the starter, you will have to create the beans yourself. docs.awspring.io/spring-cloud-aws/docs/3.1.0/reference/html/index.html#sqs-integration

  • @suganyam8346
    @suganyam8346 5 หลายเดือนก่อน

    Cam we create a service account instead of eksctl using any terraform function?

  • @sakthinivas1840
    @sakthinivas1840 6 หลายเดือนก่อน

    Thanks for sharing, may I know where the properties defined in application.yaml is referred in the application?

    • @visa2learn
      @visa2learn 6 หลายเดือนก่อน

      Those are internally used by spring cloud aws as stated in their documentation page

  • @shadyapp7416
    @shadyapp7416 6 หลายเดือนก่อน

    I am struggling to use a value from secret manager which is of integer type, how would i specify key in secretprovider yaml? It doesnt work the way it work for string secrets

  • @anbuece06
    @anbuece06 6 หลายเดือนก่อน

    Excellent work! Keep posting more videos.

  • @srinivasvadla2190
    @srinivasvadla2190 6 หลายเดือนก่อน

    Hello Sir, all is good but where to get the AWS credentials as you shown but it i come and go can you please explore bit clearly

  • @lokeshnandanwar9203
    @lokeshnandanwar9203 7 หลายเดือนก่อน

    Hi, Thanks for the video What are the changes we need to make in case of static usernames? where we need to get the rotated password only not both username and password?

  • @akhilsingh5122
    @akhilsingh5122 7 หลายเดือนก่อน

    Amazing

  • @samys288
    @samys288 8 หลายเดือนก่อน

    Very good!

  • @veeramohan1758
    @veeramohan1758 9 หลายเดือนก่อน

    Well explained, clear...

    • @visa2learn
      @visa2learn 9 หลายเดือนก่อน

      Glad you liked it

  • @theopsengineer
    @theopsengineer 9 หลายเดือนก่อน

    Good video...

    • @visa2learn
      @visa2learn 9 หลายเดือนก่อน

      Thanks

  • @aparnaghatol8830
    @aparnaghatol8830 10 หลายเดือนก่อน

    its not working on my system saying URI is not absolute java.lang.IllegalArgumentException, can you help me to resolve this

  • @saqibahmed9964
    @saqibahmed9964 10 หลายเดือนก่อน

    save the day

  • @preethibabu9085
    @preethibabu9085 10 หลายเดือนก่อน

    Hi, Have you tried failover plugin in this wrapper?

    • @visa2learn
      @visa2learn 9 หลายเดือนก่อน

      Yes and it works :)

    • @preethibabu9085
      @preethibabu9085 9 หลายเดือนก่อน

      @@visa2learn it doesn't work for a global aurora cluster

    • @preethibabu9085
      @preethibabu9085 9 หลายเดือนก่อน

      I posted the question in the GitHub discussions of aws jdbc wrapper.. they said this feature currently doesn't work for global aurora cluster..

    • @visa2learn
      @visa2learn 9 หลายเดือนก่อน

      Thanks for the update. I had tried it with writer fail and one of the reader taking over and the application worked seamlessly. But as you said it might still be not supported for a global aurora cluster

  • @virielesplana4896
    @virielesplana4896 10 หลายเดือนก่อน

    big help, thank you brother

  • @balakrishnag1707
    @balakrishnag1707 11 หลายเดือนก่อน

    nice presentation, if I am using kubeadm what is procedure

  • @invalidred
    @invalidred 11 หลายเดือนก่อน

    Such a fantastic in depth video that I very much needed to understand this very complex concept. You've done such a fine job explaining the concepts, visually showing the data flow via images and then ending with hands-ons lab fireworks! You sir are the finest!

    • @visa2learn
      @visa2learn 11 หลายเดือนก่อน

      Glad it was helpful!

  • @zmxn007
    @zmxn007 11 หลายเดือนก่อน

    Very simple but good explanation of AWS ALB controller feature. Thank you.

    • @visa2learn
      @visa2learn 11 หลายเดือนก่อน

      Glad it was helpful!

  • @ravikumarprajapati3950
    @ravikumarprajapati3950 ปีที่แล้ว

    Hi sir how did you get secret access key which you have paste in your config path

    • @ap0stole
      @ap0stole 11 หลายเดือนก่อน

      If you still looking for the answer: Click right upper corner(your nickname) -> security credentials -> there you can find tab access keys

  • @asphaltking5870
    @asphaltking5870 ปีที่แล้ว

    where is the github file ???

  • @GeraldOSullivan
    @GeraldOSullivan ปีที่แล้ว

    Excellent, many thanks!

  • @MrAnh-go6rs
    @MrAnh-go6rs ปีที่แล้ว

    Can you give me this repo github? Thankyou very much

  • @RaquelMelo97
    @RaquelMelo97 ปีที่แล้ว

    excelent

  • @CommunITManager
    @CommunITManager ปีที่แล้ว

    Very interesting! THank you!

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Glad you enjoyed it!

  • @vinnymark453
    @vinnymark453 ปีที่แล้ว

    do we need to give any additional permissions to that app pod like rbac?

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Additional permissions like rbac not needed unless your app has special needs like being able to invoke kube apis or if your cluster has network configurations which require pods to have additional permissions. But those have nothing to do with IRSA per se.

  • @TheLegoody
    @TheLegoody ปีที่แล้ว

    This taught me a lot about K8s Service accounts and how iam roles are attached to them

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Glad it was helpful

  • @edu_franco94
    @edu_franco94 ปีที่แล้ว

    thank you very much for this learning!

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Glad it was helpful!

  • @dhavamaniv3648
    @dhavamaniv3648 ปีที่แล้ว

    Wowwwwww you explained the complex concept with clear explanation and demo. Thank you

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Glad you liked it

  • @vaklinov81
    @vaklinov81 ปีที่แล้ว

    Man I really like your explanation with really good and practical example! Big thanks!

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Thanks for the kind words. Glad it was helpful

  • @AlexLi-zige
    @AlexLi-zige ปีที่แล้ว

    great video for IRSA, high recommended

  • @anshusinha2378
    @anshusinha2378 ปีที่แล้ว

    Excellent video. Is it possible to have a video explaining in detail about CSI driver as I could not find a good explanation. In case you already have it, could you please share the link ? Thanks again :)

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Thanks. You mean internals of how CSI driver works? I am not aware of that. If I do understand more about it in future, will surely post it :)

  • @tejasdevgekar
    @tejasdevgekar ปีที่แล้ว

    beautiful

  • @OsascogamingBrSP
    @OsascogamingBrSP ปีที่แล้ว

    Thank you! It helped me a lot!

  • @anshusinha2378
    @anshusinha2378 ปีที่แล้ว

    One of the best explanation with hands on.

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Thank you, glad it was helpful.

  • @sivapalanamirthagunbalasin6231
    @sivapalanamirthagunbalasin6231 ปีที่แล้ว

    I am trying to setup a local cluster for testing purpose with minkube and docker desktop. Do you know, how i can use irsa? Cuz those cluser don’t generate OIDC

    • @visa2learn
      @visa2learn ปีที่แล้ว

      IAM roles for Service Accounts (IRSA) is specific to AWS EKS cluster

    • @balakrishnag1707
      @balakrishnag1707 11 หลายเดือนก่อน

      I created a k8s cluster using kubeadm, But I want to use persistence volume, how to IRSA, I can't able to generate OIDC , How can you explain please

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 ปีที่แล้ว

    u shall making a video through practical is it help full

  • @dinu123100
    @dinu123100 ปีที่แล้ว

    Your explanation made the concept really simplified. Thanks 🙏

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Glad it was helpful!

  • @Dan-dh2bl
    @Dan-dh2bl ปีที่แล้ว

    Nicely done, thank you

    • @visa2learn
      @visa2learn ปีที่แล้ว

      Thanks for watching!