How to host botkit bot/app on ec2? - amazon-ec2

Has anyone here hosted a botkit app on ec2 instance? If yes, could you tell me how? I see options to host it on glitch/heroku but i want to host it on ec2.

Related

Port open for memcache in aws ec2 instance

Hi I'm running an aws ec2 instance with Drupal 6.
I plan on installing memcached on this server. One requirement is to open up port 11211 which is default port for memcached
I want to know in aws ec2 instance how to open incoming and outgoing traffic for port 11211? Do I need to open this port for incoming and outgoing traffic?
Secondly how do I secure the aws setup so only my ec2 can access 11211 port?
Thanks!
Is your Ec2 within a VPC ? or is it classic EC2 ?
You need to make open ports on security groups and Network acl's.
If you are new to AWS , you should first understand the NACL and Security group's and setup security in your environment.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html

Send event from ec2 machine to the office

i am implementing a system which uses amazon ec2.
I need a mechanism which allows a callbacl from ec2 machine to my office.
ec2 machines have no connectivity to my office so i need to find an alternative way.
In the office i have a grape API and, and the callback should use that grape API.
I thought about using SQS in the ec2 machine and to put a little agent in the office that will listen on a certain queue and than it will forward the requests to the API, but it sounds too sloppy.
Is there a better way of doing it ?
Thanks !
What about establishing a VPN connection between your office and EC2?
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario4.html

How to access elasticsearch in EC2?

I am new with AWS, and recently spun up an EC2 instance, and installed elasticsearch on it. I can now access elasticesearch via http://localhost:9200 after ssh into the box, but I am a little stuck on how to access this from external.
What's the best practice if I would like to write some app to access this EC2 instance? And how can I configure it so it can be access externally?
Any help would be appreciated.
Thanks.

Client communication with Amazon EC2 instance

Can an Amazon EC2 instance process requests from and return results to an external client which may a browser or non-browser application? (I know that the EC2 instance will require a IP address and must be able to create a socket and bind to a port in order to do this.)
I'm considering an Amazon EC2 instance because the server application is not written in PHP, Ruby or any other language that conventional web hosting services support by default.
Sure it will. Just setup the security group the right way to allow your clients to connect.
Take a look at this guide: Amazon Elastic Compute Cloud - Security Groups
Also keep in mind: It's not possible to change the policy group after you created the EC2 instance. This feature is available for VPC instances only. See http://aws.amazon.com/vpc/faqs/#S2 for more information.

Are there any Amazon AWS Loadbalancer GUI tools?

I wonder if there are any Amazon AWS Instance Loadbalancer GUI tools?
Other than ylastic.
If you are the sole owner of the AWS account you should be able to access elastic load balancer tab, else contact your system admin. If your IE please switch to Mozilla or chrome for better internet experience

Resources