Ask Your Question
0

Why is it possible to connect to an EC2 instance using SSH but not HTTP?

asked 2022-12-25 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-27 17:00:00 +0000

nofretete gravatar image

SSH (Secure Shell) is a secure communication protocol that provides encrypted communication between two networked devices. It is designed to provide a secure remote access to a machine, which is why it is commonly used to connect to EC2 instances. On the other hand, HTTP (Hypertext Transfer Protocol) is a protocol used for transferring data over the internet.

Connecting to an EC2 instance using SSH requires a secure connection, which is provided by the SSL/TLS protocol. This protocol encrypts the connection, ensuring that the connection between the client and the server cannot be intercepted or modified by a third party. Once the connection is established, the client can securely access the remote server and execute commands on it.

In contrast, connecting to an EC2 instance using HTTP requires an open connection that does not provide any encryption or security. This makes it vulnerable to interception or modification by third parties. Additionally, the EC2 instance is not designed to provide web server functionality by default, so connecting to it using HTTP would require additional configuration and settings that may not be available or practical. Overall, SSH provides a secure and reliable way to connect to and manage EC2 instances, while HTTP is not well-suited for this purpose.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-12-25 11:00:00 +0000

Seen: 9 times

Last updated: Aug 27 '21