This facebook bot allows you to create an ec2 instance by texting the word ec2 to the bot
- Python3
- BOTO3 - (AWS)
- ngrok (Unless you have a https server handy)
- Create a facebook app
- Select messaging for the facebook app type
- Get your access token and associate it to a facebook page (you can create one on the app screen)
- Get the access token
- run a curl request with the access token
curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=EAAM4FiGDZCk0BAD7fZCNhTMquL8hjSlXZBDcE2TolBhxeFP898oGunmccqDxGYDCYfGMsSzErecMIBQZAcgHzegpT1rZAxX
DryRun, ImageId, MinCount, MaxCount, KeyName, SecurityGroups, SecurityGroupIds, UserData, InstanceType, Placement, KernelId, RamdiskId, BlockDeviceMappings, Monitoring, SubnetId, DisableApiTermination, InstanceInitiatedShutdownBehavior, PrivateIpAddress, Ipv6Addresses, Ipv6AddressCount, ClientToken, AdditionalInfo, NetworkInterfaces, IamInstanceProfile, EbsOptimized, TagSpecifications

