I want nodes to add their own ip to a list at a key, so that other nodes joining the cluster can discover them. The issue w/ using the supported CloudMap registration for doing this, is that doesn't seem very dynamic. I want the list to start off initially empty (for the first node), and then grow or shrink as appropriate.
Can an ECS service / ASG instance add its own IP to an a Systems Manager Parameter Store entry on bootup?
118 Views Asked by pdxleif At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in AMAZON-ECS
- Canary deployment using spinnaker in AWS ECS
- AWS CloudFormation stuck at CreateTags
- AWS ECS agent does not start in EC2 instance
- Migrate AWS ECS cluster IPV4 to IPV6
- Mysql error on AWS ECS: [InnoDB] Unable to lock ./ibdata1 error
- Log retation setting for ECS
- No GPU EC2 instances associated with AWS Batch
- How to configure CPU utilized metric for ECS in AWS for Alarm?
- Connection services in different containers in the same ec2 instance
- How to get ECS task to communicate with cloudwatch agent?
- CodePipeline Deploy Stage missing AWSLambda/ automatically update running ecs tasks
- bot3 ecs.execute_command: Task Identifier is invalid
- Step scaling option disabled for ECS Fargate service
- APCu cache in docker container
- Loki on ecs crashes when cleaning up chunks
Related Questions in AMAZON-SYSTEMS-MANAGER
- AWS CLI - SSM Start Session - Execute Commands on EC2 instance after starting Session Manager using PowerShell Script
- Cannot pass Instance Ids into an automation association
- AWS CloudWatch logs only showing a single STDOUT output
- Got "Unknown plugin name: aws:createImage" while creating SSM Document
- Automatically attaching custom IAM policies to EC2 instances across account/organization
- AWS Systems Manager (Managed Instances)
- AWS RunShellScript in SAM YAML
- Is it absolutely necessary to explicitely mention region while building SsmClient using aws sdk for java v2?
- Terraform Error with SSM Document - "Unknown Property"
- Trying to run a bash on AWS SSM
- Does an AWS Association for automatically start/stop an RDS database adjusts for DST time change?
- AWS System Manager Run Command on EC2 Failes
- AWS SSM Command Document - Constrain instances to choose from
- Can I access AWS Parameter store from Lightsail instance?
- AWS SSM Run Command without keeping in history
Related Questions in AWS-CLOUDMAP
- CloudMap usage when VPC is in a centralized account
- Error on accessing a Dagster Usercode server on ECS?
- One AWS Cloud Map, Two ECS Clusters
- Service discovery on aws ECS EC2 using bridge network
- How to properly reference resources in one CDK app from another?
- Route53 record targeting other hosted zone
- ECS Service Connect DNS Resolution
- API Gateway to access cloudmap endpoint on port 5000
- How to map port from API Gateway to AWS Cloud Map?
- AWS APIGateway Weird behavior trying to find local file
- AWS ECS Service Connect versus Service Discovery
- Registering ECS services in CloudMap in Multi-Region environment
- Error creating ECS Service with DNS SRV records using Terraform
- AWS ECS does not start new tasks
- How can I read from different Amazon RDS instances using one endpoint?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can have a Daemon ECS service for this (not in replica mode). This make sure you have always a your program running once ECS container instance comes up.
Then you can enable container meta-data to get HostPublicIPv4Address.
And use AWS SDK to post to what-ever store you want to.
Upon trying this, it was observed that there is always an overlap when multiple instance come up. So you should better use proper database (which has transaction support) to store those IPs.This way two Daemon processes can fight for DB lock.