Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 27
Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 28
Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 28
Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 34
Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 39
Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/alldocs/home/rhodge/cpp_alert_server/admin/aws/create_instance.php on line 44
Couldn't find a role on the command line.
Trade-Ideas EC2 Instance Creator Script
This has several options
--role Needs to be one of:
1. actions - Github Actions
2. aifeed - AI Feed
3. alerts - Alerts
4. basebuild - Base Build
5. charts - Charts
6. delayedcharts - Charts
7. emailsms - Email SMS
8. fasmaster - Fast Alert Search Master
9. httpstunnel - HTTPS Tunnel
10. marketexplorer - Market Explorer
11. marketingweb - Marketing Website
12. dotnetservices - Dot Net Services
13. mgmt - Management
14. microproxy - Micro Proxy
15. multi - Multi
16. oddsmaker - OddsMaker
17. paper - Simulated Trading
18. pricealerts - Price Alerts
19. productweb - Product Website
20. tiqmisc - TIQ Misc
21. toplist - Top List
22. webdev - Web Dev
--ami (optional) use to include a non-default AMI to use for this instance
--subnet (optional) use to specify a non-default subnet to use for this instance
--hostname (optional) use to specify a non-default hostname to use for this instance
--key (optional) use to specify a non-default key pair id to use for this instance
--biz (optional) use to specify a non-default ti:business_service tag value
--help (optional) show this help doc
--pretend (optional) run in pretend mode: runs the run-instances command with the aws cli --dry-run option
Normal operation of the command would be as follows:
# create a new instance of the microproxy
php create_instance.php --role microproxy
# run with the pretend option to show what WOULD be run
php create_instance.php --role microproxy --pretend
# create a new instance of the charts tikiller server
php create_instance.php --role charts