37.1k views
1 vote
How do you mount EFS to EC2?

a) Use the AWS Management Console
b) Use the AWS Command Line Interface (CLI)
c) Use the AWS Elastic Beanstalk service
d) Use the AWS Lambda function

User Lamin
by
7.9k points

1 Answer

1 vote

Final answer:

To mount EFS (Elastic File System) to EC2 (Elastic Compute Cloud) in AWS (Amazon Web Services), you can use the AWS Management Console, AWS CLI, or AWS Elastic Beanstalk.

Step-by-step explanation:

To mount EFS (Elastic File System) to EC2 (Elastic Compute Cloud) in AWS (Amazon Web Services), you can use the AWS Management Console, AWS Command Line Interface (CLI), or AWS Elastic Beanstalk service. Here's a brief overview for each option:

  1. AWS Management Console: You can use the web-based console to easily create an EFS file system and then attach it to an EC2 instance.
  2. AWS Command Line Interface (CLI): With the CLI, you can use commands to create and configure an EFS file system, as well as attach it to an EC2 instance.
  3. AWS Elastic Beanstalk: Elastic Beanstalk is a platform-as-a-service (PaaS) offered by AWS. Although primarily used for deploying and managing web applications, you can also use Elastic Beanstalk to mount an EFS file system to EC2 instances.

It's important to note that AWS Lambda is a serverless compute service and doesn't directly provide a way to mount EFS to EC2 instances.

User Limoragni
by
8.1k points