Cloudformation SimpleAD assign custom Security Group

DataGuru

I am using cloudformation to create a SimpleAD; By default AWS creates a security group which opens a bunch of ports to the internet 0.0.0.0/0 The port opened are the following; UDP 445, 138, 464, 389, 53, 123, 88 TCP 464, 389, 445, 3268-3269, 1024 - 65535, 88, 135, 636, 53 ICMP ALL

The AWS environment has a WatchDog which sees any outbound security group line going to 0.0.0.0/0 and deletes it

I am now planning to create a custom security group which will open these ports within the VPC CIDR and want to assign this to the SimpleAD

For this we will need to assign the same to the Network Interface. My Question is how will I find the network interface already existing for this Simple AD and assign this

I am thinking boto3 is the way to go; has anyone done this in cloudformation?

DataGuru

I was not able to assign a security group to the AD via boto; however, I did the following

Found the Security group associated with the AD; edited the security group to be restricted to the VPC

if anyone is interested in the code please ping me and I will send it over

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Creating an ALB Target Group in CloudFormation

分類Dev

Linq Get the Max() Value of a Group and assign it to that group

分類Dev

Blazor Security - Razor Pages custom authentication/security

分類Dev

Add ALL users of a OU to a security group also the ones in a security group

分類Dev

Angular - assign custom validator to a FormGroup

分類Dev

How to apply Security Policy on AWS API Gateway using AWS CloudFormation?

分類Dev

AWS CloudFormation: Unable to attach the security groups to the instances of ElasticBeanstalk

分類Dev

Security Group and Subnet Belongs to different networks

分類Dev

aws configuration: Mismatch of Security group IDs and names

分類Dev

Terraform for aws security group create with name prefix

分類Dev

Thymelaf and Spring Security - custom SpEL expression

分類Dev

Spring security custom login redirection conflict

分類Dev

Security issue with custom build decorator in Django

分類Dev

Configuring a Custom LDAP Authentication Provider with Spring Security

分類Dev

Spring security custom authentication provider not working

分類Dev

authorize_security_groupとauthorize_security_group_ingressawsec2の違い

分類Dev

PowerShell: How to add 1 user to multiple Active Directory Security Groups - Security tab of the security group with write permission

分類Dev

Assign unique ID to distinct values within Group with dplyr

分類Dev

Can't assign value to field in custom class where field is object

分類Dev

Combine & SwiftUI with a custom Publisher - unexpected behaviour when using .assign subscriber

分類Dev

Laravel add custom middleware to route group

分類Dev

Show a custom tooltip for a group of rectangles (points on a graph)

分類Dev

Can I add dns name in aws security group

分類Dev

How to give a VPC and all its instances access to a AWS Security Group

分類Dev

Amazon EC2 Security Group inbound rule with a dynamic IP

分類Dev

Pyboto: remove an ip based rule from a security group

分類Dev

terraform:source_security_group_idの構文

分類Dev

AWS - how to pass a service link role to an autoscaling group using CDK/CloudFormation?

分類Dev

Answer Set Programming: how to assign students to a group such that no two students who dislike each other are in a same group

Related 関連記事

  1. 1

    Creating an ALB Target Group in CloudFormation

  2. 2

    Linq Get the Max() Value of a Group and assign it to that group

  3. 3

    Blazor Security - Razor Pages custom authentication/security

  4. 4

    Add ALL users of a OU to a security group also the ones in a security group

  5. 5

    Angular - assign custom validator to a FormGroup

  6. 6

    How to apply Security Policy on AWS API Gateway using AWS CloudFormation?

  7. 7

    AWS CloudFormation: Unable to attach the security groups to the instances of ElasticBeanstalk

  8. 8

    Security Group and Subnet Belongs to different networks

  9. 9

    aws configuration: Mismatch of Security group IDs and names

  10. 10

    Terraform for aws security group create with name prefix

  11. 11

    Thymelaf and Spring Security - custom SpEL expression

  12. 12

    Spring security custom login redirection conflict

  13. 13

    Security issue with custom build decorator in Django

  14. 14

    Configuring a Custom LDAP Authentication Provider with Spring Security

  15. 15

    Spring security custom authentication provider not working

  16. 16

    authorize_security_groupとauthorize_security_group_ingressawsec2の違い

  17. 17

    PowerShell: How to add 1 user to multiple Active Directory Security Groups - Security tab of the security group with write permission

  18. 18

    Assign unique ID to distinct values within Group with dplyr

  19. 19

    Can't assign value to field in custom class where field is object

  20. 20

    Combine & SwiftUI with a custom Publisher - unexpected behaviour when using .assign subscriber

  21. 21

    Laravel add custom middleware to route group

  22. 22

    Show a custom tooltip for a group of rectangles (points on a graph)

  23. 23

    Can I add dns name in aws security group

  24. 24

    How to give a VPC and all its instances access to a AWS Security Group

  25. 25

    Amazon EC2 Security Group inbound rule with a dynamic IP

  26. 26

    Pyboto: remove an ip based rule from a security group

  27. 27

    terraform:source_security_group_idの構文

  28. 28

    AWS - how to pass a service link role to an autoscaling group using CDK/CloudFormation?

  29. 29

    Answer Set Programming: how to assign students to a group such that no two students who dislike each other are in a same group

ホットタグ

アーカイブ