New script to create ami by pattern name of instance