No video

Amazon API Gateway | Access Your Spring Boot Microservice | JavaTechie

  Рет қаралды 49,166

Java Techie

Java Techie

4 жыл бұрын

This tutorial will guide you How to access spring boot microservice in AWS API Gateway
#javatechie #AWS #Microservice #SpringBoot #APIGateway
GitHub:
github.com/Jav...
Blogs:
/ javatechie
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account

Пікірлер: 112
@TechBitsByte
@TechBitsByte 4 жыл бұрын
Neat clean summarized whole flow in just few mins. Great efforts
@VinitKhandelwal
@VinitKhandelwal 3 жыл бұрын
You saved my day. Was looking for a solution entire day
@sonkarshailendra
@sonkarshailendra 2 жыл бұрын
In short and clean , you covered whole flow. Thanks a lot.
@anandnerurkar8482
@anandnerurkar8482 Ай бұрын
Thanks for this wonderful tutorial. Please take one example of existing swagger documentation. How actually happen in realtime project , do we use http proxy or import exisiting swagger when we have deployed our api to aws
@YogendraJ
@YogendraJ 3 жыл бұрын
Very Good Tutorial and nicely explained. Keep making more videos!
@rahulagrawal10
@rahulagrawal10 Жыл бұрын
Very simple and easy tutorial to understand the API gateway and Beanstalk workflow with spring boot application. Thanks. If you provide some authentication, authorization and session management videos using API gateway and Spring Boot among multiple microservices on same API gateway, It will be really great and whole application level workflow will be clarified including security and session mgt.
@amritasingh1105
@amritasingh1105 4 жыл бұрын
Very clear and to the point video. Appreciate your work.
@kirane5911
@kirane5911 6 ай бұрын
Thank you sir for uploading useful video
@RAJU9622
@RAJU9622 3 жыл бұрын
Excellent video Basant
@dipalitusharvlogs7252
@dipalitusharvlogs7252 11 ай бұрын
awesome !!!! you make the things simple....
@kirtisingh3234
@kirtisingh3234 4 жыл бұрын
Keep going! Your videos are always clear thanks 😊
@Javatechie
@Javatechie 4 жыл бұрын
Thanks kirti
@rolanddosa9950
@rolanddosa9950 2 жыл бұрын
Great easy to follow tutorial, thanks!
@vishnuMSify
@vishnuMSify 2 жыл бұрын
Nice and quick explanation
@andrewsselvaraj
@andrewsselvaraj Жыл бұрын
Excellent Excellent Excellent
@unmana1
@unmana1 10 ай бұрын
Awesome explanation ❤
@projectlifehacker8304
@projectlifehacker8304 3 жыл бұрын
Thank you, sir, very clear explanation :)
@kumarraja9966
@kumarraja9966 2 жыл бұрын
Excellent sir 👌👌
@tgkprog
@tgkprog 7 ай бұрын
hi @JavaTechie * would like to request for a video recorded in 2024 with ECS - deploying a docker image that has a spring API and then exposing that via API gateway. the api gateway screens have changed a bit. * also want to know the options with and without VPC in the ECS, rate limits, authentication by API secret key of own provider / some aws provider for our clients of gateway URLs so we can have different rate limits. * First need is simple connection to ECS that has service that is running docker. * thanks for this video, made concepts clearer
@Javatechie
@Javatechie 7 ай бұрын
Okay I will try with latest version and update
@srikanthdannarapu2419
@srikanthdannarapu2419 4 жыл бұрын
Thank you Basant for these videos,, would love to see kubernetes cluster videos aws from you
@Javatechie
@Javatechie 4 жыл бұрын
EKS ? Am started learning kunernates donut may take some time 😜
@srikanthdannarapu2419
@srikanthdannarapu2419 4 жыл бұрын
Thank you for your response Basant,, yes EKS please. I have taken some courses on udemy but would love to see it from you as your explaination is simple
@AdarshSingh-go5ht
@AdarshSingh-go5ht 4 жыл бұрын
@@Javatechie Yes, Basant please upload as its in high demand and also if possible, your expertise on AKS and CI/CD pipelines. IT companies relies more on Azure than AWS and expect candidates to be well-versed with it. (that's what I have experienced).
@Javatechie
@Javatechie 4 жыл бұрын
CI/CD with AWS code pipeline is my next tutorial
@mohammadshahruk8017
@mohammadshahruk8017 4 жыл бұрын
Thank u so much sir for ur contribution for us🙂
@saravanprathi6956
@saravanprathi6956 3 жыл бұрын
Thanks a lot for this video! you are the best..
@NurseDaveBSMSON
@NurseDaveBSMSON 2 жыл бұрын
You rock!
@hoddybhaba6704
@hoddybhaba6704 Жыл бұрын
impeccable!
@Varaprasad865
@Varaprasad865 3 жыл бұрын
Excellent thank you so much..!
@netindu
@netindu 3 жыл бұрын
Amazing job man! 👍
@bhaneshwar
@bhaneshwar 4 жыл бұрын
Please upload more videos on api gateway with without parameter and with authorization.. I hope you understand what I mean. Thanks😊sir ji.
@Javatechie
@Javatechie 4 жыл бұрын
Yup will do
@OmprakashYadavIIT
@OmprakashYadavIIT 4 жыл бұрын
Nice video..
@rajeshg3570
@rajeshg3570 2 жыл бұрын
simple and nice video.. can you pls add a video on how to deploy a Java micro service using API Gateway and Application Load balancer
@rishikesharora8681
@rishikesharora8681 2 жыл бұрын
Nice explanation, Can you please make a video on Kong API Gateway? since it has less content on KZfaq
@Javatechie
@Javatechie 2 жыл бұрын
Okay definitely I will explore that
@sarathtj8264
@sarathtj8264 4 жыл бұрын
Thank you.can you please make videos on terraform
@godloveelifuraha5618
@godloveelifuraha5618 2 жыл бұрын
Nice tutorial
@DJSS855
@DJSS855 4 жыл бұрын
Nice Content ❤️
@santhoshkumar8143
@santhoshkumar8143 4 жыл бұрын
Thanks basant
@clintonsamson5076
@clintonsamson5076 4 жыл бұрын
Your videos are very useful. Can you do it with digital ocean.
@dheereshsingh6415
@dheereshsingh6415 3 ай бұрын
HI Banant, It is extremely tremendous topic you covered effortlessly, Thanks for this 😍, I have one question / concern on AWS API gateway, you have configured the actual endpoint in API Gateway URL, but dont you think so, it is tightly coupled with API Gateway, any day my endpoint get change, then we have to make change in gateway as well, so what could be the best solution for make it loosely coupled.
@DeepakPandey-ij3bz
@DeepakPandey-ij3bz 2 жыл бұрын
Thanks for the api gateway tutorial. Could you please clear my doubt about the api gateway? 1. We have spring cloud gateway as an option so when to use it instead of Amazon api gateway. 2. Using spring cloud features like eureka, zipkin, zuul etc to deploy Microservices is different framework than using kubernetes (eks) please rectify me if I am wrong. So how we can auto scale the microservices in spring cloud. Thanks in advance.
@bhaneshwar
@bhaneshwar 4 жыл бұрын
Yeah please add videos on swagger also. Thanks😊
@Javatechie
@Javatechie 4 жыл бұрын
Okay I will add
@kalalanilkumar
@kalalanilkumar 2 жыл бұрын
Can you please make a video to explain how to deploy the Spring Boot Rest API into LAMDA and access it from API Gateway. (API Gate Way---->LAMBDA---->SpringBoot)
@Javatechie
@Javatechie 2 жыл бұрын
Already explained that please checkout my AWS playlist
@kalalanilkumar
@kalalanilkumar 2 жыл бұрын
@@Javatechie Thankyou for the quick reply. Hope you are talking about kzfaq.info/get/bejne/mNqWoa-Hy9KzpZc.html video. But, I have bit confusion where you are changing the envirment variable settings everytime for each rest call to test. I have springboot app with almost 50 rest apis and want to deploy that jar in LAMDA. So expecting this scenario how to configure with API gateway.
@javaramchintha7226
@javaramchintha7226 4 жыл бұрын
Very useful. Thanks for the good tutorial. Can you make one tutorial with CICD with AWS deployment using docker image.
@Javatechie
@Javatechie 4 жыл бұрын
Yes I will do that
@ankur22388
@ankur22388 2 жыл бұрын
Hi, It was nice watching this video. One query any suggestions on if instead of using EBS , we use Fargate and API Gateway Will that work?
@bijeesraj007
@bijeesraj007 3 жыл бұрын
Thank you for the quality content! In this solution a consumer can still access the "EBS endpoint" also, how can we prevent that?
@projectlifehacker8304
@projectlifehacker8304 3 жыл бұрын
You have to setup VPC on AWS
@harshverm776
@harshverm776 2 жыл бұрын
Hi, How can we import endpoints using swagger docs?
@lavanyamatta8069
@lavanyamatta8069 Жыл бұрын
How to specify path variables and query parameters for put and delete methods
@TechBitsByte
@TechBitsByte 4 жыл бұрын
How mule API (migration from spring boot API) can be wrapped and hosted on GCP. If possible to have more videos on this. Also AOP and restcontroller no more supported in mule which is challenge to re write API again due to just mule gateway
@Javatechie
@Javatechie 4 жыл бұрын
Hi Sanjeet , I don't have GCP account Active now so I will check with others if someone have active account then will try
@agarwalr5205
@agarwalr5205 3 жыл бұрын
Thank you for your video, can you also create a video explaining the use of swagger ui in creating API Gateway Endpoint.
@Javatechie
@Javatechie 3 жыл бұрын
Okay swagger ui is just for documentation and quick test No worries I will do this content
@agarwalr5205
@agarwalr5205 3 жыл бұрын
@@Javatechie Thank You, I was asking about using swagger to create AWS API Gateway the one you mentioned in the video.
@Javatechie
@Javatechie 3 жыл бұрын
Okay got it .i.e easy one I will do .
@pavanageetha4213
@pavanageetha4213 Жыл бұрын
Sir please also guide us through swagger file import . We have swagger file for every microservice with host details . I want to know that when I give build in Jenkins how the ApI gateway is reflected in AWS. How the communication will happen. Please tell us this info sir.
@puneetsaneja3007
@puneetsaneja3007 2 жыл бұрын
If there are 100 endpoints, we do need to setup 100 Resource like u mentioned in 10.23 mnts. Dont we give some pattern kind of thing.
@Javatechie
@Javatechie 2 жыл бұрын
No buddy we no need to do it manually there is way you can directly upload a open api yml file which will create structure for you
@sonalgupta9518
@sonalgupta9518 2 жыл бұрын
How should you create a java Application Rest Service which can support 10k Request per second and also have ec2 instances with load balancers with logging minute details.
@kmiiloberrio-dev
@kmiiloberrio-dev Жыл бұрын
How to add authentication and authorization with jwt in aws api gateway? Thanks
@pradeepb355
@pradeepb355 3 жыл бұрын
How to map uri path variable to resources uri
@vishu4135
@vishu4135 Жыл бұрын
how to deploy the API if we have a path variable (GetByName)
@user-ve3tz4so8u
@user-ve3tz4so8u 9 ай бұрын
what DB is used here... inmemory..?
@Javatechie
@Javatechie 9 ай бұрын
RDS
@s_k12
@s_k12 3 жыл бұрын
Thank you! Seems like API Gateway is not adding value as you can directly go to the Elastic beanstalk.
@sambhavsharma9661
@sambhavsharma9661 3 жыл бұрын
Nice video. But i would like to know that how to access the spring boot application which is running on private network(EC2 ( Private VPC with docker) by using API gateway with Rest API(Get and PUT request) with same example given in this video. Please tell me and create one video for it. Hope you understand my scenario. its urgent, i have seen your video but did not get this information.
@Javatechie
@Javatechie 3 жыл бұрын
Same way we can do because the which we upload to beanstalk is internally create an EC2 instance .
@sambhavsharma9661
@sambhavsharma9661 3 жыл бұрын
Suppose ec2 insance with private network, then api gateway will automatically communicate with ec2 or any nat instance need to be created for that communication
@Javatechie
@Javatechie 3 жыл бұрын
Not sure about this . Need to check
@sambhavsharma9661
@sambhavsharma9661 3 жыл бұрын
Kindly make video for the same if possible
@sambhavsharma9661
@sambhavsharma9661 3 жыл бұрын
Please let me know if possible,
@sameerforyou01
@sameerforyou01 3 жыл бұрын
i want to call AWS API gateway from Java App. how to do that?
@rahimkhan-fh9dd
@rahimkhan-fh9dd 2 жыл бұрын
You explained very well, Suppose I want to add more than one GET API inside book service, how we can achieve that? I noticed once you select GET API then GET API option not visible in drop down menu as you already created one GET API.
@Javatechie
@Javatechie 2 жыл бұрын
You can define different url
@sandip9021
@sandip9021 3 жыл бұрын
After creating api gateway URL , can we block Elastic Bean Stalk url to use directly ?
@Javatechie
@Javatechie 3 жыл бұрын
Am not sure about this .will let you know
@javasystems5850
@javasystems5850 3 жыл бұрын
for both Get and Post URL is same. Why ?
@Javatechie
@Javatechie 3 жыл бұрын
Yes it's same but https method is different . This is what the coding standards
@satyavathi6349
@satyavathi6349 3 жыл бұрын
Sir can you make another video like this by using lambda instead of using HTTP
@Javatechie
@Javatechie 3 жыл бұрын
Instead of http what you want ?
@satyavathi6349
@satyavathi6349 3 жыл бұрын
@@Javatechie I mean lambda sir
@Javatechie
@Javatechie 3 жыл бұрын
Yes it is there please check once
@shaileshsingh5664
@shaileshsingh5664 4 жыл бұрын
In swagger do we just need to have documentation only???
@Javatechie
@Javatechie 4 жыл бұрын
I will upload that today
@vipinjunankar1507
@vipinjunankar1507 3 жыл бұрын
can you please show one example in that "How to call an AWS java lambda function from another AWS Java Lambda function "
@Javatechie
@Javatechie 3 жыл бұрын
I didn't tried that let me check
@vipinjunankar1507
@vipinjunankar1507 3 жыл бұрын
@@Javatechie Ok.....
@godloveelifuraha5618
@godloveelifuraha5618 2 жыл бұрын
How you map it with DB ? I can see you post and pull data
@rajivperera1624
@rajivperera1624 3 жыл бұрын
Hi Basanth, Consider I have two microservices where one service call the other to perform the callers business function. Since they are 2 separate services they are in 2 different jar files. So now how do I upload such kind of project to elastic bean stalk?
@Javatechie
@Javatechie 3 жыл бұрын
You need to upload 2 separate jar and in consumer give ebs URL while accessing other
@rajivperera1624
@rajivperera1624 3 жыл бұрын
@@Javatechie so that means I have to create 2 separate ebs environments?
@Javatechie
@Javatechie 3 жыл бұрын
Yes
@rajivperera1624
@rajivperera1624 3 жыл бұрын
@@Javatechie thank you very much for your quick response.
@nithu301
@nithu301 3 жыл бұрын
One question I have if any one can resolve.. though AWS provides a api gate way..what is the purpose of spring cloud api gateway zuul?
@sagarsaud156
@sagarsaud156 4 жыл бұрын
I am unable MAP Native Query to POJO Class in SPRING JPA? Any idea sir?
@Javatechie
@Javatechie 4 жыл бұрын
Hi sagar first of all I would request you to ask your question specific to relevant post . Can you share your query and pojo structure
@sagarsaud156
@sagarsaud156 4 жыл бұрын
@@Javatechie My Query is @Query(value="SELECT f.firm_id, f.firm_name, f.firm_registration_number, f.proprietor_name, f.firm_address, f.proprietor_contact, f.bank_name, f.tt_dap_number, f.tt_date, f.tt_dap_amount, f.application_date,f.invoice_no, f.invoice_date, f.bl_no, f.bl_date, f.shipped_on_date, f.revenue_status, f.verification_level, f.sender_name, f.request_date_nepali, f.request_send_by, f.assistant_verification,f.assistant_verification_date, f.officer_verification, f.officer_verification_date, f.director_verification, f.director_verification_date, c.currency_type, co.custom_office_name, pm.payment_type, sp.sea_port_name, f.firm_document, f.revenue_amount, f.revenue_voucher FROM firm f, sea_port sp, currency c, custom_office co, payment_method pm WHERE f.payment_method_id=pm.payment_method_id AND f.sea_port_id=sp.sea_port_id AND f.custom_office_id=co.custom_office_id AND f.currency_id=c.currency_id AND f.firm_id=?1", nativeQuery = true) public FirmHelper getFirmDetailsById(int firmId); --- POJO CLASS public class FirmHelper { private int firm_id; private String firm_name; . . . . Till all selected attribute of the query #getter setter method }
@dave0811
@dave0811 3 жыл бұрын
Can we access this API from AWS Amplify?
@sanketh768
@sanketh768 2 жыл бұрын
What's the benefit of using API gateway? We can directly hit the link
@ziedmarouani6257
@ziedmarouani6257 3 жыл бұрын
Very useful thanks ! but since we activated the proxy integration in the api gateway , shouldnt that affect the received request on the spring app ? meaning spring will receive the parameters of the request inside the request[body] , but we didnt fetch that in the spring app
@tgkprog
@tgkprog 7 ай бұрын
proxy means it wont change the request, it acts like a front for other services, so its a catch all but it will forward the request to different listeners (integrations/ apps) per config. At impl level it means there will be one more network hop but no change the request. some proxies might add a header. but no other change to request. Read up on web server reverse proxy concept
@tgkprog
@tgkprog 7 ай бұрын
A reverse proxy is a server, app, or cloud service that sits in front of one or more web servers. It intercepts and inspects incoming client requests before forwarding them to the web server. It then returns the server's response to the client. Reverse proxies are typically implemented to help increase security, performance, and reliability. They provide an additional level of abstraction and control to ensure the smooth flow of network traffic between clients and servers. A reverse proxy acts as an intermediary “hall monitor” for web traffic. Instead of pointing your DNS directly to your web host, you would point it to your proxy service, which would then direct your website's visitors to your web host. Reverse proxies include the basic functions of load balancing and web performance optimization. They also include more advanced traffic management services such as application layer security, web acceleration, page routing, and secure remote access. Some of the biggest websites on the Internet use dedicated reverse proxy servers such as the open source software HAProxy and Squid
@dave0811
@dave0811 3 жыл бұрын
Can we expose the api with https?
@Javatechie
@Javatechie 3 жыл бұрын
Yes we can
@sall2877
@sall2877 2 жыл бұрын
Thanks it was nicely explained but probably not that helpful since you explained the most trivial use case. Word of advice to anyone wanted to use spring boot and an actual realistic tech stack there is WAY, WAY more involved then what is shown here this video will not help at all for any real case. You can figure this stuff out by just clicking around through trial and error in about an hour. I would recommend actually explaining the stuff involved that is not trivial.
👨‍🔧📐
00:43
Kan Andrey
Рет қаралды 10 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 38 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 128 МЛН
What is API Gateway?
3:26
ByteByteGo
Рет қаралды 278 М.
API Gateway | Microservice
11:48
Telusko
Рет қаралды 70 М.
Building an API Gateway in Java with Spring Cloud Gateway
23:01
What is API gateway really all about? Java Brains - Brain Bytes
8:56
Deploy a SpringBoot 3 API on AWS Lambda in 10 minutes
9:16
James Eastham
Рет қаралды 9 М.
What is Amazon API Gateway?
8:59
Digital Cloud Training
Рет қаралды 133 М.
Deploy a SpringBoot API on AWS Lambda in 10 minutes
12:16
James Eastham
Рет қаралды 31 М.