Skip to content

Script to update AWS Security Group #5

@devlinjunker

Description

@devlinjunker

Is your feature request related to a problem? Please describe:
When I try to SSH to AWS server, sometimes it fails if my home IP address has changed.

Describe the solution:
Create Shell Script that can be run with anacron:

Describe alternatives you've considered:
I have been doing this manually

Links/Additional context:
https://linux.die.net/man/8/anacron
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html

Testing:
Should be able to:

  • remove IP address from security group,
  • call script
  • see IP address in security group after

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions