Amazon API Gateway | Access Your Spring Boot Microservice | JavaTechie

Ғылым және технология

This tutorial will guide you How to access spring boot microservice in AWS API Gateway
#javatechie #AWS #Microservice #SpringBoot #APIGateway
GitHub:
github.com/Java-Techie-jt/spr...
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
    @TechBitsByte3 жыл бұрын

    Neat clean summarized whole flow in just few mins. Great efforts

  • @sonkarshailendra
    @sonkarshailendra2 жыл бұрын

    In short and clean , you covered whole flow. Thanks a lot.

  • @VinitKhandelwal
    @VinitKhandelwal3 жыл бұрын

    You saved my day. Was looking for a solution entire day

  • @YogendraJ
    @YogendraJ3 жыл бұрын

    Very Good Tutorial and nicely explained. Keep making more videos!

  • @amritasingh1105
    @amritasingh11053 жыл бұрын

    Very clear and to the point video. Appreciate your work.

  • @rolanddosa9950
    @rolanddosa99502 жыл бұрын

    Great easy to follow tutorial, thanks!

  • @anandnerurkar8482
    @anandnerurkar848220 күн бұрын

    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

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

  • @kirane5911
    @kirane59115 ай бұрын

    Thank you sir for uploading useful video

  • @dipalitusharvlogs7252
    @dipalitusharvlogs725210 ай бұрын

    awesome !!!! you make the things simple....

  • @saravanprathi6956
    @saravanprathi69563 жыл бұрын

    Thanks a lot for this video! you are the best..

  • @kirtisingh3234
    @kirtisingh32343 жыл бұрын

    Keep going! Your videos are always clear thanks 😊

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Thanks kirti

  • @vishnuMSify
    @vishnuMSify2 жыл бұрын

    Nice and quick explanation

  • @mohammadshahruk8017
    @mohammadshahruk80173 жыл бұрын

    Thank u so much sir for ur contribution for us🙂

  • @projectlifehacker8304
    @projectlifehacker83043 жыл бұрын

    Thank you, sir, very clear explanation :)

  • @Varaprasad865
    @Varaprasad8653 жыл бұрын

    Excellent thank you so much..!

  • @netindu
    @netindu3 жыл бұрын

    Amazing job man! 👍

  • @unmana1
    @unmana19 ай бұрын

    Awesome explanation ❤

  • @RAJU9622
    @RAJU96222 жыл бұрын

    Excellent video Basant

  • @kumarraja9966
    @kumarraja99662 жыл бұрын

    Excellent sir 👌👌

  • @andrewsselvaraj
    @andrewsselvaraj Жыл бұрын

    Excellent Excellent Excellent

  • @DJSS855
    @DJSS8553 жыл бұрын

    Nice Content ❤️

  • @OmprakashYadavIIT
    @OmprakashYadavIIT3 жыл бұрын

    Nice video..

  • @srikanthdannarapu2419
    @srikanthdannarapu24193 жыл бұрын

    Thank you Basant for these videos,, would love to see kubernetes cluster videos aws from you

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    EKS ? Am started learning kunernates donut may take some time 😜

  • @srikanthdannarapu2419

    @srikanthdannarapu2419

    3 жыл бұрын

    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

    3 жыл бұрын

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

    3 жыл бұрын

    CI/CD with AWS code pipeline is my next tutorial

  • @godloveelifuraha5618
    @godloveelifuraha56182 жыл бұрын

    Nice tutorial

  • @hoddybhaba6704
    @hoddybhaba6704 Жыл бұрын

    impeccable!

  • @rajeshg3570
    @rajeshg35702 жыл бұрын

    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

  • @tgkprog
    @tgkprog6 ай бұрын

    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

    6 ай бұрын

    Okay I will try with latest version and update

  • @clintonsamson5076
    @clintonsamson50763 жыл бұрын

    Your videos are very useful. Can you do it with digital ocean.

  • @sarathtj8264
    @sarathtj82643 жыл бұрын

    Thank you.can you please make videos on terraform

  • @NurseDaveBSMSON
    @NurseDaveBSMSON2 жыл бұрын

    You rock!

  • @santhoshkumar8143
    @santhoshkumar81433 жыл бұрын

    Thanks basant

  • @ankur22388
    @ankur223882 жыл бұрын

    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?

  • @rishikesharora8681
    @rishikesharora86812 жыл бұрын

    Nice explanation, Can you please make a video on Kong API Gateway? since it has less content on KZread

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Okay definitely I will explore that

  • @dheereshsingh6415
    @dheereshsingh64152 ай бұрын

    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-ij3bz2 жыл бұрын

    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.

  • @agarwalr5205
    @agarwalr52053 жыл бұрын

    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 .

  • @sonalgupta9518
    @sonalgupta95182 жыл бұрын

    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.

  • @bijeesraj007
    @bijeesraj0073 жыл бұрын

    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

  • @javaramchintha7226
    @javaramchintha72263 жыл бұрын

    Very useful. Thanks for the good tutorial. Can you make one tutorial with CICD with AWS deployment using docker image.

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Yes I will do that

  • @bhaneshwar
    @bhaneshwar3 жыл бұрын

    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

    3 жыл бұрын

    Yup will do

  • @harshverm776
    @harshverm7762 жыл бұрын

    Hi, How can we import endpoints using swagger docs?

  • @TechBitsByte
    @TechBitsByte3 жыл бұрын

    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

    3 жыл бұрын

    Hi Sanjeet , I don't have GCP account Active now so I will check with others if someone have active account then will try

  • @lavanyamatta8069
    @lavanyamatta8069 Жыл бұрын

    How to specify path variables and query parameters for put and delete methods

  • @sandip9021
    @sandip90213 жыл бұрын

    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

  • @godloveelifuraha5618
    @godloveelifuraha56182 жыл бұрын

    How you map it with DB ? I can see you post and pull data

  • @nithu301
    @nithu3013 жыл бұрын

    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?

  • @rajivperera1624
    @rajivperera16243 жыл бұрын

    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.

  • @kalalanilkumar
    @kalalanilkumar2 жыл бұрын

    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 kzread.info/dash/bejne/lKia0K6Pls-1pcY.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.

  • @ziedmarouani6257
    @ziedmarouani62573 жыл бұрын

    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

    6 ай бұрын

    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

    6 ай бұрын

    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

  • @shaileshsingh5664
    @shaileshsingh56643 жыл бұрын

    In swagger do we just need to have documentation only???

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    I will upload that today

  • @kmiiloberrio-dev
    @kmiiloberrio-dev11 ай бұрын

    How to add authentication and authorization with jwt in aws api gateway? Thanks

  • @vishu4135
    @vishu4135 Жыл бұрын

    how to deploy the API if we have a path variable (GetByName)

  • @bhaneshwar
    @bhaneshwar3 жыл бұрын

    Yeah please add videos on swagger also. Thanks😊

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Okay I will add

  • @pradeepb355
    @pradeepb3553 жыл бұрын

    How to map uri path variable to resources uri

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

  • @sameerforyou01
    @sameerforyou013 жыл бұрын

    i want to call AWS API gateway from Java App. how to do that?

  • @sagarsaud156
    @sagarsaud1563 жыл бұрын

    I am unable MAP Native Query to POJO Class in SPRING JPA? Any idea sir?

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    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

    3 жыл бұрын

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

  • @puneetsaneja3007
    @puneetsaneja30072 жыл бұрын

    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

  • @rahimkhan-fh9dd
    @rahimkhan-fh9dd2 жыл бұрын

    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

  • @s_k12
    @s_k122 жыл бұрын

    Thank you! Seems like API Gateway is not adding value as you can directly go to the Elastic beanstalk.

  • @dave0811
    @dave08112 жыл бұрын

    Can we access this API from AWS Amplify?

  • @vipinjunankar1507
    @vipinjunankar15073 жыл бұрын

    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.....

  • @user-ve3tz4so8u
    @user-ve3tz4so8u8 ай бұрын

    what DB is used here... inmemory..?

  • @Javatechie

    @Javatechie

    8 ай бұрын

    RDS

  • @javasystems5850
    @javasystems58503 жыл бұрын

    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

  • @sambhavsharma9661
    @sambhavsharma96613 жыл бұрын

    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,

  • @satyavathi6349
    @satyavathi63493 жыл бұрын

    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

  • @sanketh768
    @sanketh7682 жыл бұрын

    What's the benefit of using API gateway? We can directly hit the link

  • @dave0811
    @dave08112 жыл бұрын

    Can we expose the api with https?

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Yes we can

  • @sall2877
    @sall28772 жыл бұрын

    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.

Келесі