You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
5 Hrs
8 Min
52 Seg
Curso Práctico de Storage en AWS

Curso Práctico de Storage en AWS

Carlos Andrés Zambrano Barrera

Carlos Andrés Zambrano Barrera

Volumen EBS para Windows

34/37
Resources

How do I create an EBS volume on AWS?

Creating an EBS volume on Amazon Web Services is an essential task that will provide your EC2 instances with the persistent storage they need. Below, we will see how you can set up an EBS volume from scratch and connect it to a Windows instance.

What are the initial steps to follow?

To get started, head to the AWS Management Console and follow these steps:

  1. Create an EC2 instance: Log in to the EC2 service and select a Windows-like instance. It is recommended to choose a large size to avoid capacity issues.
  2. Configure instance details: Use the default VPC and public subnet. No additional roles or joining it to a domain is required.
  3. Add storage: Define 60 GB for the root disk and add an additional 100 GB volume. Configure labels, such as "Windows Platzi" to identify the instance.

How to configure security and launch the instance?

After defining the storage, follow these steps to finish the configuration:

  • Security group: Allow access to the RDP port from your IP address and create a security group named "Platzi Windows".
  • Create and download the key: When launching the instance, create a new key, download it and use it to obtain the administrator password.
  • Connect to the instance via RDP: Access the server using the generated password and establish a connection to the Windows 2016 server.

Why doesn't the extra disk appear?

Even if an extra disk has been added, it may not appear automatically in Windows. To fix this:

  • Search in File and Storage Services: go to "Disks" and look for the disk that appears "offline".
  • Activate the disk: Right click and select "Bring Online". This will start provisioning the disk.

How to create and extend a volume in Windows?

Once the disk is online, the next step is to create and extend a volume:

  • Create a new volume: within the disk manager, select the new disk, assign a letter and format the space. Initially, it will be 100 GB.
  • Extend the volume: If you need more space, go back to the EBS volume configuration in AWS. You can modify the size up to 200 GB, but remember that EBS only allows you to increase, not decrease the size of a volume.

How important is it to manage storage correctly?

Adequate storage is essential to avoid sprawl tasks, although scaling up is possible when needs change. Keep in mind the following advantages of using EBS:

  • Flexibility: Grow storage according to your needs without compromising service.
  • Data persistence: Data stored in EBS persists regardless of the instance lifecycle.
  • Backup and recovery: You can create snapshots to efficiently backup and recover data.

By integrating these steps into the creation and management of EBS volumes, you will take full advantage of AWS capabilities for your Windows instances. Keep practicing and experimenting with these features to further solidify your cloud service management skills - good luck on your learning journey!

Contributions 13

Questions 2

Sort by:

Want to see more contributions, questions and answers from the community?

¡Tener muy presente que el tamaño de los volúmenes no se puede decrementar!

Muy buen ejercicio, así da gusto algo práctico que se puede usar desde el primer momento. Gracias.

Para conectarme a la instacia EC2-Windows use Remote Desktop Connection disponible para Mac y Windows.

Bueno, no todo puede ser linux, es importante conocer como hacerlo en distintos sistemas operativos

### **Volumen EBS para Windows en AWS** Amazon Elastic Block Store (**EBS**) es un servicio de almacenamiento de bloques para instancias EC2, compatible con sistemas operativos Windows y Linux. #### **1. Tipos de Volumen EBS recomendados para Windows** Dependiendo del rendimiento y costo, puedes elegir entre varios tipos de volúmenes EBS: **Tipo de VolumenUso recomendado en WindowsCaracterísticasgp3 (General Purpose SSD)**Servidores de aplicaciones y bases de datos en WindowsRendimiento predecible, hasta 16,000 IOPS, 1,000 MB/s**gp2 (General Purpose SSD)**Instancias Windows de uso generalRendimiento basado en tamaño, hasta 3,000 IOPS**io1/io2 (Provisioned IOPS SSD)**Bases de datos SQL Server de alto rendimientoLatencia baja, hasta 256,000 IOPS**st1 (Throughput Optimized HDD)**Servidores de archivos en WindowsAlta tasa de transferencia, menor costo**sc1 (Cold HDD)**Archivos de respaldo en WindowsBajo costo, rendimiento secuencial #### **2. Creación y configuración de un volumen EBS en Windows** ##### **Paso 1: Crear el volumen EBS** 1. Ir a **AWS Management Console** > **EC2** > **Volúmenes**. 2. Hacer clic en **Crear volumen**. 3. Seleccionar el **tipo de volumen** (ej. gp3). 4. Definir el tamaño y la zona de disponibilidad (debe coincidir con la instancia EC2). 5. Hacer clic en **Crear volumen**. ##### **Paso 2: Adjuntar el volumen a una instancia EC2** 1. Seleccionar el volumen creado. 2. Hacer clic en **Acciones** > **Adjuntar volumen**. 3. Elegir la instancia Windows EC2 y hacer clic en **Adjuntar**. ##### **Paso 3: Inicializar el volumen en Windows** 1. Conectarse a la instancia Windows vía **RDP**. 2. Abrir el **Administrador de discos** (`diskmgmt.msc`). 3. Identificar el nuevo volumen (mostrará "No asignado"). 4. Hacer clic derecho en el volumen y seleccionar **Inicializar disco**. 5. Elegir **MBR** o **GPT** según la necesidad. 6. Crear un nuevo volumen, asignar una letra de unidad y formatearlo en **NTFS**. #### **3. Buenas prácticas** ✅ **Usar gp3 en lugar de gp2** para obtener mejor rendimiento a menor costo. ✅ **Habilitar copias de seguridad automáticas** con **Snapshots de EBS**. ✅ **Monitorear el rendimiento** con **CloudWatch**. ✅ **Usar múltiples volúmenes** para separar sistema operativo y datos.

Como hiso la conexion con el servidor? no se ve en el video

De diez, este ejemplo redondeo todo, de diez

bien util esta practica.

super claro muchas gracias 😃

Muy buena clase

Agregando un disco para su uso en Windows

Tambien puedes hacer estos movimientos dentro de Computer Manangement > disk management para los más tradicionales

Es cierto que no se puede decrementar en Windows, pero en linux si se puede, no hay documentación oficial pero si es posible, incluso si son discos del market place al hacer ese procedimiento se le borran los códigos del market y se vuelve una ec2 con un ebs cualquiera, lo digo por que yo ya lo hice.