Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 在AWS中运行spring boot应用程序,仅允许通过AWS API网关进行访问_Amazon Web Services_Spring Boot_Amazon Ec2_Amazon Elastic Beanstalk_Aws Api Gateway - Fatal编程技术网

Amazon web services 在AWS中运行spring boot应用程序,仅允许通过AWS API网关进行访问

Amazon web services 在AWS中运行spring boot应用程序,仅允许通过AWS API网关进行访问,amazon-web-services,spring-boot,amazon-ec2,amazon-elastic-beanstalk,aws-api-gateway,Amazon Web Services,Spring Boot,Amazon Ec2,Amazon Elastic Beanstalk,Aws Api Gateway,我想在aws中运行spring引导应用程序(使用ec2或elastic beanstalk);此应用程序具有REST端点,我希望对其进行保护,以便只有AWS API网关具有调用端点的权限(即没有公共访问权限,也没有来自其他服务的访问权限) 如何执行此操作?您必须配置API网关才能使用。然后,您必须配置后端以拒绝任何不包含该证书的请求

我想在aws中运行spring引导应用程序(使用ec2或elastic beanstalk);此应用程序具有REST端点,我希望对其进行保护,以便只有AWS API网关具有调用端点的权限(即没有公共访问权限,也没有来自其他服务的访问权限)


如何执行此操作?

您必须配置API网关才能使用。然后,您必须配置后端以拒绝任何不包含该证书的请求