1. 程式人生 > >Use Your Own Security Group With Elastic Beanstalk

Use Your Own Security Group With Elastic Beanstalk

2.    Create a security group for the load balancer.
Configure the inbound and outbound rules for the security group as needed and record the associated security group ID for future reference.

Add configuration parameters to your configuration file. The following sample configuration includes two option_settings that modify the default behavior of the Elastic Beanstalk service when deploying an Elastic Beanstalk application to a load-balancing, auto-scaling environment:

  • aws:elb:loadbalancer: ManagedSecurityGroup
    This option specifies that the Elastic Beanstalk service should not create a new security group for the load balancer and adds a rule to EC2 security groups to ensure that connections are accepted from the security group with the security group ID that you created in step 2 (represented by the placeholder sg-xxxxxxxx).
  • aws:elb:loadbalancer: SecurityGroups
    This option specifies that the Elastic Beanstalk service should update the load balancer to use the security group with the security group ID that you created in Step 2 (represented by the placeholder sg-xxxxxxxx).

Contents of sample configuration file elbsg.config:


option_settings:
- namespace: aws:elb:loadbalancer
option_name: ManagedSecurityGroup
value: sg-xxxxxxxx
- namespace: aws:elb:loadbalancer
option_name: SecurityGroups
value: sg-xxxxxxxx

Scenarios for deploying Elastic Beanstalk applications using custom application deployment options in a configuration file

Creating a new Elastic Beanstalk environment

When you create a new Elastic Beanstalk environment using the configuration information described here, the Elastic Beanstalk service will configure the load balancer to use the security group that matches the security group ID provided in your configuration file instead of automatically creating and assigning a new security group to the load balancer.

Updating an existing Elastic Beanstalk environment

You can also update an existing Elastic Beanstalk environment by adding custom configuration options to an Elastic Beanstalk application deployment file. In the scenario described in this article, the Elastic Beanstalk service would delete the existing ELB security group and update the load balancer to use the security group that matches the security group ID provided in your configuration file.

相關推薦

Use Your Own Security Group With Elastic Beanstalk

2.    Create a security group for the load balancer. Configure the inbound and outbound rules for the security group as needed and record the a

How to build your own ubuntu image with docker?

一. Build a ubuntu image and install sshd 1. Pull ubuntu docker pull ubuntu:14.04 2. Create Dockerfile FROM ubuntu:14.04 #updat

Build your OWN Apple iBeacon with a Raspberry Pi

Feature US department store Macy’s recently said it is implementing iPhone-based tracking tech the better to encourage browsing punters

Train your own ML model using Scikit and use in iOS app with CoreML (and probably with Augmented…

Next we plot the data using below code —%matplotlib inlineimport matplotlib.pyplot as pltiris_data.hist(bins=50, figsize=(20,15))plt.show()Plot of sepal_le

Configure a Load Balancer in an Elastic Beanstalk Environment to Use an SSL Certificate

Before you configure your Elastic Beanstalk environment to use HTTPS, you need an SSL certificate. AWS Elastic Beanstalk is integrated with AWS

Set Availability Zones in a VPC for Elastic Beanstalk Instances with Custom Settings

The "Custom Availability Zones" option can only be specified for Elastic Beanstalk environments that don't use custom VPC settings.

在OpenStack中繞過或停用security group (iptables)

dpt drop 通過 icm i-o opensta ping return val 眼下。OpenStack中默認採用了security group的方式。用系統的iptables來過濾進入vm的流量。這個本意是為了安全,可是往往給調試和開發帶來一些困擾。 因

Draw your Next App Idea with Ink to Code

load width ace export notes minimal calc constrain wan Imagine that you’ve just been struck by inspiration for your next great app. You m

[Tools] Create your own mobile emulator device by using Chrome dev tool

mobile info tom rom ng- hang ima drop-down inf Using the New Device Emulation Interface The Device Emulation interface changed a bit wit

build your own website 1 -- how to install Apache Server

tps href root res apache2 sys targe serve name Operating System: Ubuntu 16.04 Web Server ? most often used Web Server software is freely

Snap Build Your Own Blocks輸入中文解決辦法

val 它的 解決方法 關心 信息 span 技術分享 應該 輸出 Snap Build Your Own Blocks輸入中文解決辦法 Snap! (formerly BYOB) is a visual, drag-and-drop programming languag

[Typescript Kaop-ts] Use AOP in Vue Components with TypeScript and Kaop-ts

store json any username order term mov and all Aspect Oriented Programming, AOP, allows to reuse logic across an entire app in a very nea

How to force https on amazon elastic beanstalk

conf 使用 quest The 沒有 last director 改變 etc 假設您已在負載平衡器安全組中啟用https,將SSL證書添加到負載平衡器,將443添加到負載平衡器轉發的端口,並使用Route 53將您的域名指向Elastic Beanstalk環境(或等

UVALive 5135 Mining Your Own Bussiness【tarjan點雙】

LINK1 LINK2 題目大意 給你一個無向連通圖,讓你給一些點染上黑色,需要滿足染色之後,斷開任意一個節點,要滿足任意一個聯通塊中剩下的節點中至少有一個黑點 思路 一開始想的是把每一個點雙聯通分量都把除了割點的size乘上 然後發現隨手卡掉 然後發現一下性質 首先所有相鄰點雙聯通分量一

Make your own neural network(Python神經網路程式設計)一

  這本書應該算我第一本深度學習的程式碼入門書了吧,之前看阿里云云棲社和景略集智都有推薦這本書就去看了,   成功建立了自己的第一個神經網路,也瞭解一些關於深度學習的內容,再加上這學期的概率論與數理統計的課,   現在再來看李大大的機器學習課程,終於能看懂LogisticsRegression概率那部分公

Make your own neural network(Python神經網路程式設計)三

前兩篇程式碼寫了初始化與查詢,知道了S函式,初始權重矩陣。以及神經網路的計算原理,總這一篇起就是最重要的神經網路的訓練了。 神經網路的訓練簡單點來講就是讓輸出的東西更加接近我們的預期。比如我們輸出的想要是1,但是輸出了-0.5,明顯不是 我們想要的。 誤差=(期望的數值)-(實際輸出),那麼我們的誤差就是

TRAIN YOUR OWN OPENCV HAAR CLASSIFIER

參看: https://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html https://github.com/duburlan/dd_haartraining —————————————————————

pcl之using pcl in your own project

pcl之using pcl in your own project CMakeLists.txt cmake_minimum_required(VERSION 2.6 FATAL_ERROR) project(MY_GRAND_PROJECT) find_package(PCL 1.3 REQ

Do not throw System.Exception, System.SystemException, System.NullReferenceException, or System.IndexOutOfRangeException intentionally from your own s

sonarqube的掃描結果提示 https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions https://stackoverflow.com/q