1. Autoscale-with-BIG-IP-F5-SNS-CF
By Kamal Maiti
Sr. Subject Matter Expert
Linux System Engineer
Amdocs Development Center, India
Agenda :
• Autoscaling CF [aws-autoscale-with-f5-cf-v2.json]
• Http Endpoint [aws-sns-http-endpoint.json]
• Endpoint subscription confirmation [aws-sns-http-subscriptionconfirmation.py]
• Python app for processing SNS events [aws-autoscaling-with-f5-app.py]
2. Autoscale-with-BIG-IP-F5-SNS-CF
Autoscaling CF [aws-autoscale-with-f5-cf-v2.json]
NB: Only Important part is mentioned below
How many instances during launch of CF and max limit?
Which instance will be terminated?
SNS Topic ARN
Autoscaling Events
4. Autoscale-with-BIG-IP-F5-SNS-CF
Endpoint subscription confirmation [aws-sns-http-subscriptionconfirmation.py
Python Modules imported
A session is created that can be used for
any aws res
A client needs to be created calls desired
method
6. Autoscale-with-BIG-IP-F5-SNS-CF
Module and logging :
Python app for processing SNS events [aws-autoscaling-with-f5-app.py]
Logger object File handler
Log formatting
Log Level
Logger.addHandler
Logger.debug()
Flask micro framework for webserver
For tracking activity
7. Autoscale-with-BIG-IP-F5-SNS-CF
Python app for processing SNS events [aws-autoscaling-with-f5-app.py]
Process Post Data :
Dictionary & instance of Flask :
Python list var for keeping instance ID and IP address
Flask framework object