Lightsail launch script not working when creating instance from manual snapshot

0

Hi there, this question is for Lightsail. I have a snapshot of an instance that I created manually, when I try to create a new instance from it, the launch script doesn't seem to trigger at all. I've tried it using both the web interface as well as the SDK. My launch script works when creating a new instance from scratch, but just not when creating from an existing snapshot.

All I'm doing right now is just:

sudo touch 1234.txt

and that doesn't even work. Any help would be appreciated, thank you!

질문됨 2년 전262회 조회
1개 답변
0

Snapshot retains the state of the running instance. When creating an instance from a snapshot, you have to option to add the launch script. Refer to Step 4 in the document - https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-instance-from-snapshot

--Syd

profile picture
Syd
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠