![Visa2Learn](/img/default-banner.jpg)
- 28
- 93 270
Visa2Learn
India
เข้าร่วมเมื่อ 27 ต.ค. 2021
Unlike travel visa which is needed to visit different countries, learning doesn't need any visa or has any boundaries. Everyone gets a visa to learn when they are born, with lifelong validity.
The goal of this channel is to teach something that I have learnt. The goal is also to motivate and encourage people to keep learning. Topics would be ranging from, but not limited to, technology, software engineering, devops, cloud computing etc.
Some famous quotes that will motivate you to keep learning.
“Once you stop learning, you start dying” - Albert Einstein
“Live as if you were to die tomorrow. Learn as if you were to live forever.” -Mahatma Gandhi
“The more I live, the more I learn. The more I learn, the more I realize, the less I know.” -Michel Legrand
“The beautiful thing about learning is nobody can take it away from you.” -B.B. King
“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young.” -Henry Ford
Contact visa2learn at gmail.com
The goal of this channel is to teach something that I have learnt. The goal is also to motivate and encourage people to keep learning. Topics would be ranging from, but not limited to, technology, software engineering, devops, cloud computing etc.
Some famous quotes that will motivate you to keep learning.
“Once you stop learning, you start dying” - Albert Einstein
“Live as if you were to die tomorrow. Learn as if you were to live forever.” -Mahatma Gandhi
“The more I live, the more I learn. The more I learn, the more I realize, the less I know.” -Michel Legrand
“The beautiful thing about learning is nobody can take it away from you.” -B.B. King
“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young.” -Henry Ford
Contact visa2learn at gmail.com
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
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
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?
Great Explanation , Thanks
Is SSL mandatory to connect to RDS through IAM role?
No but its highly recommended for security reasons
1000 likes from my side
Very good excellent , you saved a lot of my time.
Glad to hear that
This is Gold video bro..
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
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.
plz give me source code
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
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
The parameter -fsL gives me an error
nice explaination!
Glad you liked it!
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?
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
Cam we create a service account instead of eksctl using any terraform function?
Thanks for sharing, may I know where the properties defined in application.yaml is referred in the application?
Those are internally used by spring cloud aws as stated in their documentation page
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
Excellent work! Keep posting more videos.
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
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?
Amazing
Very good!
Well explained, clear...
Glad you liked it
Good video...
Thanks
its not working on my system saying URI is not absolute java.lang.IllegalArgumentException, can you help me to resolve this
save the day
Hi, Have you tried failover plugin in this wrapper?
Yes and it works :)
@@visa2learn it doesn't work for a global aurora cluster
I posted the question in the GitHub discussions of aws jdbc wrapper.. they said this feature currently doesn't work for global aurora cluster..
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
big help, thank you brother
nice presentation, if I am using kubeadm what is procedure
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!
Glad it was helpful!
Very simple but good explanation of AWS ALB controller feature. Thank you.
Glad it was helpful!
Hi sir how did you get secret access key which you have paste in your config path
If you still looking for the answer: Click right upper corner(your nickname) -> security credentials -> there you can find tab access keys
where is the github file ???
Excellent, many thanks!
Can you give me this repo github? Thankyou very much
excelent
Very interesting! THank you!
Glad you enjoyed it!
do we need to give any additional permissions to that app pod like rbac?
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.
This taught me a lot about K8s Service accounts and how iam roles are attached to them
Glad it was helpful
thank you very much for this learning!
Glad it was helpful!
Wowwwwww you explained the complex concept with clear explanation and demo. Thank you
Glad you liked it
Man I really like your explanation with really good and practical example! Big thanks!
Thanks for the kind words. Glad it was helpful
great video for IRSA, high recommended
Thanks :)
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 :)
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 :)
beautiful
Thank you!
Thank you! It helped me a lot!
Glad to hear
One of the best explanation with hands on.
Thank you, glad it was helpful.
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
IAM roles for Service Accounts (IRSA) is specific to AWS EKS cluster
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
u shall making a video through practical is it help full
Your explanation made the concept really simplified. Thanks 🙏
Glad it was helpful!
Nicely done, thank you
Thanks for watching!