Visa2Learn
Visa2Learn
  • Видео 28
  • Просмотров 91 820
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
#springbo...
Просмотров: 2 495

Видео

OpenAI ChatGPT API call using Spring Boot | ChatBot API using Java
Просмотров 4,1 тыс.Год назад
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,6 тыс.Год назад
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
Просмотров 6 тыс.Год назад
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
Просмотров 7 тыс.Год назад
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
Просмотров 13 тыс.Год назад
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,5 тыс.2 года назад
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
Просмотров 7022 года назад
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
Просмотров 6452 года назад
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
Просмотров 3002 года назад
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
Просмотров 2962 года назад
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,7 тыс.2 года назад
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
Просмотров 3062 года назад
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
Просмотров 2102 года назад
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
Просмотров 942 года назад
Docker Simplified | Docker in simple terms | Learn docker in 20 mins
AWS Load Balancer Controller overview | Reuse the same ALB for multiple Ingress resources
Просмотров 15 тыс.2 года назад
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
Просмотров 5662 года назад
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 тыс.2 года назад
Helm Library Charts | Reusable charts demo | Advanced Helm
Install a sample application and Mesh it using Linkerd | Linkerd tutorial | Troubleshooting app
Просмотров 9842 года назад
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,2 тыс.2 года назад
Install Linkerd into your Kubernetes cluster | Linkerd Setup on Docker Desktop | Linkerd tutorial
Introduction to Linkerd | What is Linkerd? | Linkerd tutorial
Просмотров 1,2 тыс.2 года назад
Introduction to Linkerd | What is Linkerd? | Linkerd tutorial
Learn advanced Git in under 16 mins | Advanced git tutorial | Git CLI
Просмотров 942 года назад
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
Просмотров 15 тыс.2 года назад
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
Просмотров 7 тыс.2 года назад
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
Просмотров 5 тыс.2 года назад
Postgres DB credentials rotation using Spring Cloud Vault | Spring Boot | Hashicorp Vault

Комментарии

  • @code-for-mars
    @code-for-mars 17 дней назад

    Great Explanation , Thanks

  • @csamarnathreddy
    @csamarnathreddy 27 дней назад

    Is SSL mandatory to connect to RDS through IAM role?

    • @visa2learn
      @visa2learn 26 дней назад

      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.

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

    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 3 месяца назад

    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 4 месяца назад

    The parameter -fsL gives me an error

  • @Aditya-wj5gy
    @Aditya-wj5gy 4 месяца назад

    nice explaination!

    • @visa2learn
      @visa2learn 4 месяца назад

      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 5 месяцев назад

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

    • @visa2learn
      @visa2learn 5 месяцев назад

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

  • @shadyapp7416
    @shadyapp7416 5 месяцев назад

    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 5 месяцев назад

    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 6 месяцев назад

    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 6 месяцев назад

    Amazing

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

    Very good!

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

    Well explained, clear...

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

      Glad you liked it

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

    Good video...

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

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

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

    save the day

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

    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 10 месяцев назад

    nice presentation, if I am using kubeadm what is procedure

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

    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 10 месяцев назад

      Glad it was helpful!

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

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

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

      Glad it was helpful!

  • @ravikumarprajapati3950
    @ravikumarprajapati3950 11 месяцев назад

    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!

  • @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

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

    thank you very much for this learning!

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

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

  • @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

    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 10 месяцев назад

      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 🙏

  • @Dan-dh2bl
    @Dan-dh2bl Год назад

    Nicely done, thank you

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

    awesome video, only one suggestion, when you type command, can you try to keep them in the middle of the screen? It's difficult to read the bottom of the screen at time.

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

      Noted! Thanks for the feedback