vi /etc/openstack-dashboard/local_settings # /SESSION_TIMEOUT
vi /etc/keystone/keystone.conf # expiration=
파일 업로드
폴더를 만들고 거기에 파일을 업로드 할수도있음
템플릿 생성기 (최신버전 + OS:NOVA)
모니터 모양 드래그(파이어폭스로)
드래그한거 클릭
볼륨 연결관리
볼륨 연결 해제
cirros3 볼륨 생성하고 -> 볼륨 연결관리
#! /bin/bash
yum install -y httpd
systemctl enable --now httpd
#!/bin/bash
apt-get update -y
apt-get install -y mariadb-server
]
sudo setenforce 0
sudo yum install -y wget
sudo yum install -y httpd wget
wget http://192.168.1.81:8080/v1/AUTH_975cf0dfa1894e30b64231a9987acc96/files/aws.tar
sudo tar -xvf aws.tar -C /var/www/html/
sudo systemctl enable --now httpd
cat keystonerc_admin
source keystonerc_admin # admin 으로 로그인 한거임, 끊을라면 exit하고 재접
source keystonerc_admin
openstack container list
openstack container create test_container
openstack object create test_container answers.txt
openstack object list test_container
openstack object list files
openstack object save files aws.tar
openstack object delete test_container answers.txt
openstack container delete test_container
vi sample-stack.yml
properties:
security_groups: 여기에 넣어줌
openstack security group list
openstack subnet list
openstack flavor list
openstack image list
openstack keypair list
openstack keypair show open-key
openstack stack create -t sample-stack.yml Sample-Stack
openstack floating ip create external_network
openstack floating ip list
openstack server list
openstack port list
vi floating-stack.yml
heat_template_version: "2018-08-31"
description: "version 2017-09-01 created by HOT Generator at Fri, 13 Aug 2021 10:45:18 GMT."
resources:
FloatingIPAssociation_1:
type: "OS::Neutron::FloatingIPAssociation"
properties:
floatingip_id: "613bde54-196a-421e-b75e-734c7e342379"
port_id: "8bbbf071-9ab0-4065-bdde-882510f3a595"