KN04 Teilauftrag B) ergänzt

This commit is contained in:
Marcello Calisto 2023-09-09 21:59:36 +02:00
parent cda8bb35e2
commit bc06bc7203

View File

@ -96,7 +96,7 @@ users:
home: /home/ubuntu home: /home/ubuntu
shell: /bin/bash shell: /bin/bash
ssh_authorized_keys: ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7uUevS7iVPRPFAmdCAIAk7xg7szJUBhmRhLlNgGg3hQb8Zify0Mvm28yO/BW9XUdgW85pmcmbpyP7Y+pDkWHEFbWBjFdTgmYyoszn08fIsApcVJkauqDLmaz9Fd+FtyZGFJapdgR34nLiT1meklO8/Z/mynSYFuzAWClmRiyZXPok2qQJM/xqZRCudatskYJFobiS/+9pSvohIMT/WLhaBsJStctK1QWWQTuPsfO/6QKFkM378qUeJ74lGBfd7cU0Z3i0B3t9r/bhVu0vsyfQdbiWqL3Bhzl2n/KHaDi2t4mcJwEVIDyzr+6vkSLdu3X09vCcsJPGnLirTHVUGo07 calisto-1 - ssh-rsa <Public-Key> <Name_des_Keybesitzers>
disable_root: false disable_root: false
package_update: true package_update: true
packages: packages:
@ -113,7 +113,7 @@ write_files:
write_files: write_files:
- content: | - content: |
<?php <?php
$ihrname = "Calisto"; $ihrname = "IhrNachname";
?> ?>
<html> <html>
@ -121,9 +121,9 @@ write_files:
<title><?php echo $ihrname; ?></title> <title><?php echo $ihrname; ?></title>
</head> </head>
<body> <body>
<h1>Mein Lieblingsverein</h1> <h1>Passender Titel</h1>
<br /> <br />
<img src="https://calistos-kn04-bucket2.s3.amazonaws.com/fcz.jpg" alt="Bild aus S3-Bucket"> <img src="URL des Bildes auf dem S3-Bucket" alt="Bild aus S3-Bucket">
</body> </body>
</html> </html>
path: /var/www/html/test.php path: /var/www/html/test.php
@ -133,9 +133,6 @@ runcmd:
``` ```
##### Schritte ##### Schritte
1. Öffnen Sie die [AWS Management Console](https://aws.amazon.com/console/). 1. Öffnen Sie die [AWS Management Console](https://aws.amazon.com/console/).