Is it possible to setup a RabbitMQ server on an Amazon EC2 instance, and have of my machines at the office connect to this RabbitMQ server and send/receive messages to/from it?
Will I be charged by Amazon for the bandwidth / messages that flow into / out from my RabbitMQ EC2 instance?
Yes that's certainly possible and you will be charged for outbound traffic.
Related
My aws ec instance is not able to connect to my redis cluster,
the ping is also timedout as well.
both my aws ec instance and redis cluster are in the same VPC and same sub network id.
redis cluster has the security group which allows all the inbound traffic
and the ec instance has the security group which allows all the outbound traffic
please help me check if I missed anything,
thanks very much.
For Eureka, services can register themselves to Eureka server directly. Why should we send request to Consul client instead of Consul server? Are there any problems to let services communicate with Consul server directly?
Appreciate your help, thanks!
No, there is no problem in communicating directly to the servers.
Consul clients are used in big data centers with many (5+) Consul agents. The Consul developers recommend to use three to five server agents per datacenter. If you need more agents (for hundreds of micro services e.g.) than you should use client agents that are connected to server agents instead of launching more server agents which will decrease performance.
But in a smaller datacenter there is no problem using server agents directly.
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
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
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.