āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛āĻŸāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŽāĻžāĻ˛āĻŋāĻ•āĻžāĻ¨āĻžāĻ§ā§€āĻ¨ āĻāĻ•āĻŸāĻŋ āĻĄā§‹āĻŽā§‡āĻ¨ā§‡āĻ° āĻœāĻ¨ā§āĻ¯ āĻāĻ•āĻŸāĻŋ āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸ āĻšā§‹āĻ¸ā§āĻŸ āĻ•āĻ°āĻ¤ā§‡ āĻāĻ•āĻŸāĻŋ āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻŦāĻžāĻ•ā§‡āĻŸ āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻ•āĻ¨āĻĢāĻŋāĻ—āĻžāĻ° āĻ•āĻ°āĻ¤ā§‡ āĻšāĻ¯āĻŧ āĻ¤āĻž āĻŦāĻ°ā§āĻŖāĻ¨āĻž āĻ•āĻ°ā§‡āĨ¤ āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ“āĻ¯āĻŧā§‡āĻŦ āĻĒā§ƒāĻˇā§āĻ āĻžāĻ—ā§āĻ˛āĻŋāĻ¤ā§‡ āĻāĻ‡āĻšāĻŸāĻŋāĻāĻŽāĻāĻ˛, āĻ¸āĻŋāĻāĻ¸āĻāĻ¸ āĻāĻŦāĻ‚ āĻœāĻžāĻ­āĻžāĻ¸ā§āĻ•ā§āĻ°āĻŋāĻĒā§āĻŸā§‡āĻ° āĻŽāĻ¤ā§‹ āĻ•ā§āĻ˛āĻžāĻ¯āĻŧā§‡āĻ¨ā§āĻŸ-āĻ¸āĻžāĻ‡āĻĄ āĻĒā§āĻ°āĻ¯ā§āĻ•ā§āĻ¤āĻŋ āĻĨāĻžāĻ•āĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡āĨ¤ āĻ¤āĻžāĻ°āĻž PHP-āĻāĻ° āĻŽāĻ¤ā§‹ āĻ¸āĻžāĻ°ā§āĻ­āĻžāĻ°-āĻ¸āĻžāĻ‡āĻĄ āĻ¸ā§āĻ•ā§āĻ°āĻŋāĻĒā§āĻŸā§‡āĻ° āĻŽāĻ¤ā§‹ āĻ—āĻ¤āĻŋāĻļā§€āĻ˛ āĻŦāĻŋāĻˇāĻ¯āĻŧāĻŦāĻ¸ā§āĻ¤ā§ āĻ§āĻžāĻ°āĻŖ āĻ•āĻ°āĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡ āĻ¨āĻžāĨ¤ āĻ¯ā§‡āĻšā§‡āĻ¤ā§ āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ¨āĻŋāĻœā§‡āĻ‡ HTTPS āĻ¸āĻš āĻ•āĻžāĻ¸ā§āĻŸāĻŽ āĻĄā§‹āĻŽā§‡āĻ¨āĻ—ā§āĻ˛āĻŋāĻ•ā§‡ āĻ¸āĻŽāĻ°ā§āĻĨāĻ¨ āĻ•āĻ°ā§‡ āĻ¨āĻž, āĻ¤āĻžāĻ‡ āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛āĻŸāĻŋ HTTPS-āĻ āĻāĻ•āĻŸāĻŋ āĻ•āĻžāĻ¸ā§āĻŸāĻŽ āĻĄā§‹āĻŽā§‡āĻ¨ āĻĨā§‡āĻ•ā§‡ āĻ¸āĻžāĻŽāĻ—ā§āĻ°ā§€ āĻĒāĻ°āĻŋāĻŦā§‡āĻļāĻ¨ āĻ•āĻ°āĻ¤ā§‡ HTTP(S) āĻ˛ā§‹āĻĄ āĻŦā§āĻ¯āĻžāĻ˛ā§‡āĻ¨ā§āĻ¸āĻŋāĻ‚ āĻ¸āĻš āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°ā§‡ā§ˇ HTTPS āĻāĻ° āĻŽāĻžāĻ§ā§āĻ¯āĻŽā§‡ āĻāĻ•āĻŸāĻŋ āĻ•āĻžāĻ¸ā§āĻŸāĻŽ āĻĄā§‹āĻŽā§‡āĻ¨ āĻĨā§‡āĻ•ā§‡ āĻ¸āĻžāĻŽāĻ—ā§āĻ°ā§€ āĻĒāĻ°āĻŋāĻŦā§‡āĻļāĻ¨ āĻ•āĻ°āĻžāĻ° āĻ†āĻ°āĻ“ āĻ‰āĻĒāĻžāĻ¯āĻŧā§‡āĻ° āĻœāĻ¨ā§āĻ¯, āĻ¸āĻŽā§āĻĒāĻ°ā§āĻ•āĻŋāĻ¤ āĻ¸āĻŽāĻ¸ā§āĻ¯āĻž āĻ¸āĻŽāĻžāĻ§āĻžāĻ¨ā§‡āĻ° āĻŦāĻŋāĻˇāĻ¯āĻŧ āĻĻā§‡āĻ–ā§āĻ¨ā§ˇ āĻ†āĻĒāĻ¨āĻŋ HTTP-āĻ¤ā§‡ āĻ•āĻžāĻ¸ā§āĻŸāĻŽ āĻĄā§‹āĻŽā§‡āĻ¨ āĻ¸āĻžāĻŽāĻ—ā§āĻ°ā§€ āĻĒāĻ°āĻŋāĻŦā§‡āĻļāĻ¨ āĻ•āĻ°āĻ¤ā§‡ āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœāĻ“ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°āĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡āĻ¨, āĻ¯āĻžāĻ° āĻœāĻ¨ā§āĻ¯ āĻ˛ā§‹āĻĄ āĻŦā§āĻ¯āĻžāĻ˛ā§‡āĻ¨ā§āĻ¸āĻžāĻ°ā§‡āĻ° āĻĒā§āĻ°āĻ¯āĻŧā§‹āĻœāĻ¨ āĻšāĻ¯āĻŧ āĻ¨āĻžāĨ¤ āĻāĻ•āĻŸāĻŋ āĻ—āĻ¤āĻŋāĻļā§€āĻ˛ āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸā§‡āĻ° āĻœāĻ¨ā§āĻ¯ āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ¸āĻŽā§āĻĒāĻĻāĻ—ā§āĻ˛āĻŋ āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻšā§‹āĻ¸ā§āĻŸ āĻ•āĻ°āĻ¤ā§‡ āĻšāĻ¯āĻŧ āĻ¸āĻš āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ“āĻ¯āĻŧā§‡āĻŦ āĻĒā§ƒāĻˇā§āĻ āĻžāĻ—ā§āĻ˛āĻŋāĻ° āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻāĻŦāĻ‚ āĻŸāĻŋāĻĒāĻ¸ā§‡āĻ° āĻœāĻ¨ā§āĻ¯, āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸ āĻĒā§ƒāĻˇā§āĻ āĻžāĻŸāĻŋ āĻĻā§‡āĻ–ā§āĻ¨ā§ˇ == āĻ‰āĻĻā§āĻĻā§‡āĻļā§āĻ¯ == āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛ āĻ†āĻĒāĻ¨āĻžāĻ•ā§‡ āĻĻā§‡āĻ–āĻžāĻ¯āĻŧ āĻ•āĻŋāĻ­āĻžāĻŦā§‡: - āĻāĻ•āĻŸāĻŋ āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨āĨ¤ - āĻ†āĻĒāĻ˛ā§‹āĻĄ āĻ•āĻ°ā§āĻ¨ āĻāĻŦāĻ‚ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ¸āĻžāĻ‡āĻŸā§‡āĻ° āĻĢāĻžāĻ‡āĻ˛ āĻļā§‡āĻ¯āĻŧāĻžāĻ° āĻ•āĻ°ā§āĻ¨. - āĻāĻ•āĻŸāĻŋ āĻ˛ā§‹āĻĄ āĻŦā§āĻ¯āĻžāĻ˛ā§‡āĻ¨ā§āĻ¸āĻžāĻ° āĻāĻŦāĻ‚ SSL āĻļāĻ‚āĻ¸āĻžāĻĒāĻ¤ā§āĻ° āĻ¸ā§‡āĻŸ āĻ†āĻĒ āĻ•āĻ°ā§āĻ¨ā§ˇ - āĻ†āĻĒāĻ¨āĻžāĻ° āĻ˛ā§‹āĻĄ āĻŦā§āĻ¯āĻžāĻ˛ā§‡āĻ¨ā§āĻ¸āĻžāĻ°āĻŸāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻ¸āĻžāĻĨā§‡ āĻ¸āĻ‚āĻ¯ā§āĻ•ā§āĻ¤ āĻ•āĻ°ā§āĻ¨āĨ¤ - āĻāĻ•āĻŸāĻŋ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻĄā§‹āĻŽā§‡āĻ¨āĻ•ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ˛ā§‹āĻĄ āĻŦā§āĻ¯āĻžāĻ˛ā§‡āĻ¨ā§āĻ¸āĻžāĻ°ā§‡āĻ° āĻĻāĻŋāĻ•ā§‡ āĻ¨āĻŋāĻ°ā§āĻĻā§‡āĻļ āĻ•āĻ°ā§āĻ¨ āĻāĻ•āĻŸāĻŋ āĻ°ā§‡āĻ•āĻ°ā§āĻĄ. - āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸ āĻĒāĻ°ā§€āĻ•ā§āĻˇāĻž āĻ•āĻ°ā§āĻ¨āĨ¤ == āĻ–āĻ°āĻš == āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛āĻŸāĻŋ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄā§‡āĻ° āĻ¨āĻŋāĻŽā§āĻ¨āĻ˛āĻŋāĻ–āĻŋāĻ¤ āĻŦāĻŋāĻ˛āĻ¯ā§‹āĻ—ā§āĻ¯ āĻ‰āĻĒāĻžāĻĻāĻžāĻ¨āĻ—ā§āĻ˛āĻŋ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°ā§‡: āĻāĻ•āĻŸāĻŋ āĻ¸ā§āĻŸā§āĻ¯āĻžāĻŸāĻŋāĻ• āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸ āĻšā§‹āĻ¸ā§āĻŸ āĻ•āĻ°āĻžāĻ° āĻ¸āĻŽāĻ¯āĻŧ āĻ•ā§€ āĻ•ā§€ āĻšāĻžāĻ°ā§āĻœ āĻ¨ā§‡āĻ“āĻ¯āĻŧāĻž āĻšāĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡ āĻ¤āĻžāĻ° āĻŦāĻŋāĻļāĻĻ āĻŦāĻŋāĻŦāĻ°āĻŖā§‡āĻ° āĻœāĻ¨ā§āĻ¯ āĻ†āĻĒāĻ¨āĻžāĻ° āĻšāĻžāĻ°ā§āĻœ āĻĒāĻ°ā§āĻ¯āĻŦā§‡āĻ•ā§āĻˇāĻŖā§‡āĻ° āĻŸāĻŋāĻĒāĻŸāĻŋ āĻĻā§‡āĻ–ā§āĻ¨āĨ¤ == āĻ†āĻĒāĻ¨āĻŋ āĻļā§āĻ°ā§ āĻ•āĻ°āĻžāĻ° āĻ†āĻ—ā§‡ == - āĻ†āĻĒāĻ¨āĻžāĻ° Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ…ā§āĻ¯āĻžāĻ•āĻžāĻ‰āĻ¨ā§āĻŸā§‡ āĻ¸āĻžāĻ‡āĻ¨ āĻ‡āĻ¨ āĻ•āĻ°ā§āĻ¨āĨ¤ āĻ†āĻĒāĻ¨āĻŋ āĻ¯āĻĻāĻŋ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄā§‡ āĻ¨āĻ¤ā§āĻ¨ āĻšāĻ¯āĻŧā§‡ āĻĨāĻžāĻ•ā§‡āĻ¨, āĻ¤āĻžāĻšāĻ˛ā§‡ āĻŦāĻžāĻ¸ā§āĻ¤āĻŦ-āĻŦāĻŋāĻļā§āĻŦā§‡āĻ° āĻĒāĻ°āĻŋāĻ¸ā§āĻĨāĻŋāĻ¤āĻŋāĻ¤ā§‡ āĻ†āĻŽāĻžāĻĻā§‡āĻ° āĻĒāĻŖā§āĻ¯āĻ—ā§āĻ˛āĻŋ āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻ•āĻžāĻ°ā§āĻ¯ āĻ¸āĻŽā§āĻĒāĻžāĻĻāĻ¨ āĻ•āĻ°ā§‡ āĻ¤āĻž āĻŽā§‚āĻ˛ā§āĻ¯āĻžāĻ¯āĻŧāĻ¨ āĻ•āĻ°āĻ¤ā§‡ āĻāĻ•āĻŸāĻŋ āĻ…ā§āĻ¯āĻžāĻ•āĻžāĻ‰āĻ¨ā§āĻŸ āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ā§ˇ āĻ¨āĻ¤ā§āĻ¨ āĻ—ā§āĻ°āĻžāĻšāĻ•āĻ°āĻžāĻ“ āĻ•āĻžāĻœā§‡āĻ° āĻšāĻžāĻĒ āĻšāĻžāĻ˛āĻžāĻ¨ā§‹, āĻĒāĻ°ā§€āĻ•ā§āĻˇāĻž āĻāĻŦāĻ‚ āĻ¸ā§āĻĨāĻžāĻĒāĻ¨ āĻ•āĻ°āĻžāĻ° āĻœāĻ¨ā§āĻ¯ āĻŦāĻŋāĻ¨āĻžāĻŽā§‚āĻ˛ā§āĻ¯ā§‡ $300 āĻ•ā§āĻ°ā§‡āĻĄāĻŋāĻŸ āĻĒāĻžāĻ¨āĨ¤ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ•āĻ¨āĻ¸ā§‹āĻ˛ā§‡, āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ• āĻĒā§ƒāĻˇā§āĻ āĻžāĻ¯āĻŧ, āĻāĻ•āĻŸāĻŋ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨ āĻŦāĻž āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ā§ˇ āĻ¨āĻŋāĻļā§āĻšāĻŋāĻ¤ āĻ•āĻ°ā§āĻ¨ āĻ¯ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒā§‡āĻ° āĻœāĻ¨ā§āĻ¯ āĻŦāĻŋāĻ˛āĻŋāĻ‚ āĻ¸āĻ•ā§āĻˇāĻŽ āĻ•āĻ°āĻž āĻ†āĻ›ā§‡ā§ˇ āĻāĻ•āĻŸāĻŋ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒā§‡ āĻŦāĻŋāĻ˛āĻŋāĻ‚ āĻ¸āĻ•ā§āĻˇāĻŽ āĻ•āĻŋāĻ¨āĻž āĻ¤āĻž āĻĒāĻ°ā§€āĻ•ā§āĻˇāĻž āĻ•āĻ°āĻ¤ā§‡ āĻļāĻŋāĻ–ā§āĻ¨āĨ¤ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ•āĻ¨āĻ¸ā§‹āĻ˛ā§‡, āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ• āĻĒā§ƒāĻˇā§āĻ āĻžāĻ¯āĻŧ, āĻāĻ•āĻŸāĻŋ Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨ āĻŦāĻž āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ā§ˇ āĻ¨āĻŋāĻļā§āĻšāĻŋāĻ¤ āĻ•āĻ°ā§āĻ¨ āĻ¯ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒā§‡āĻ° āĻœāĻ¨ā§āĻ¯ āĻŦāĻŋāĻ˛āĻŋāĻ‚ āĻ¸āĻ•ā§āĻˇāĻŽ āĻ•āĻ°āĻž āĻ†āĻ›ā§‡ā§ˇ āĻāĻ•āĻŸāĻŋ āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒā§‡ āĻŦāĻŋāĻ˛āĻŋāĻ‚ āĻ¸āĻ•ā§āĻˇāĻŽ āĻ•āĻŋāĻ¨āĻž āĻ¤āĻž āĻĒāĻ°ā§€āĻ•ā§āĻˇāĻž āĻ•āĻ°āĻ¤ā§‡ āĻļāĻŋāĻ–ā§āĻ¨āĨ¤ - āĻ†āĻĒāĻ¨āĻžāĻ° āĻŽāĻžāĻ˛āĻŋāĻ•āĻžāĻ¨āĻžāĻ§ā§€āĻ¨ āĻŦāĻž āĻĒāĻ°āĻŋāĻšāĻžāĻ˛āĻ¨āĻžāĻ° āĻāĻ•āĻŸāĻŋ āĻĄā§‹āĻŽā§‡āĻ¨ āĻ†āĻ›ā§‡āĨ¤ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ¯āĻĻāĻŋ āĻāĻ•āĻŸāĻŋ āĻŦāĻŋāĻĻā§āĻ¯āĻŽāĻžāĻ¨ āĻĄā§‹āĻŽā§‡āĻ¨ āĻ¨āĻž āĻĨāĻžāĻ•ā§‡, āĻāĻŽāĻ¨ āĻ…āĻ¨ā§‡āĻ• āĻĒāĻ°āĻŋāĻˇā§‡āĻŦāĻž āĻ°āĻ¯āĻŧā§‡āĻ›ā§‡ āĻ¯āĻžāĻ° āĻŽāĻžāĻ§ā§āĻ¯āĻŽā§‡ āĻ†āĻĒāĻ¨āĻŋ āĻāĻ•āĻŸāĻŋ āĻ¨āĻ¤ā§āĻ¨ āĻĄā§‹āĻŽā§‡āĻ¨ āĻ¨āĻŋāĻŦāĻ¨ā§āĻ§āĻ¨ āĻ•āĻ°āĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡āĻ¨, āĻ¯ā§‡āĻŽāĻ¨ Google āĻĄā§‹āĻŽā§‡āĻ¨ āĻāĻŦāĻ‚ āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻĄā§‹āĻŽā§‡āĻ¨ā§ˇ āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛āĻŸāĻŋ āĻĄā§‹āĻŽā§‡āĻ‡āĻ¨ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°ā§‡ example.comāĨ¤ - āĻ†āĻĒāĻ¨āĻŋ āĻĒāĻ°āĻŋāĻŦā§‡āĻļāĻ¨ āĻ•āĻ°āĻ¤ā§‡ āĻšāĻžāĻ¨ āĻ•āĻ¯āĻŧā§‡āĻ•āĻŸāĻŋ āĻ“āĻ¯āĻŧā§‡āĻŦāĻ¸āĻžāĻ‡āĻŸ āĻĢāĻžāĻ‡āĻ˛ āĻ†āĻ›ā§‡. āĻāĻ‡ āĻŸāĻŋāĻ‰āĻŸā§‹āĻ°āĻŋāĻ¯āĻŧāĻžāĻ˛āĻŸāĻŋ āĻ¸āĻŦāĻšā§‡āĻ¯āĻŧā§‡ āĻ­āĻžāĻ˛ āĻ•āĻžāĻœ āĻ•āĻ°ā§‡ āĻ¯āĻĻāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ…āĻ¨ā§āĻ¤āĻ¤ āĻāĻ•āĻŸāĻŋ āĻ¸ā§‚āĻšā§€ āĻĒāĻžāĻ¤āĻž āĻĨāĻžāĻ•ā§‡ ( index.html) āĻāĻŦāĻ‚ āĻāĻ•āĻŸāĻŋ 404 āĻĒā§ƒāĻˇā§āĻ āĻž ( 404.html)āĨ¤ - āĻ¨āĻŋāĻŽā§āĻ¨āĻ˛āĻŋāĻ–āĻŋāĻ¤ āĻ†āĻ‡āĻĄā§‡āĻ¨ā§āĻŸāĻŋāĻŸāĻŋ āĻāĻŦāĻ‚ āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻŽā§āĻ¯āĻžāĻ¨ā§‡āĻœāĻŽā§‡āĻ¨ā§āĻŸā§‡āĻ° āĻ­ā§‚āĻŽāĻŋāĻ•āĻž āĻ†āĻ›ā§‡: āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ…āĻŦāĻœā§‡āĻ•ā§āĻŸ āĻ…ā§āĻ¯āĻžāĻĄāĻŽāĻŋāĻ¨ āĻāĻŦāĻ‚ āĻ¨ā§‡āĻŸāĻ“āĻ¯āĻŧāĻžāĻ°ā§āĻ• āĻ…ā§āĻ¯āĻžāĻĄāĻŽāĻŋāĻ¨āĨ¤ - (āĻāĻšā§āĻ›āĻŋāĻ•) āĻ¯āĻĻāĻŋ āĻ†āĻĒāĻ¨āĻŋ āĻšāĻžāĻ¨ āĻ¯ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻŦāĻžāĻ•ā§‡āĻŸā§‡āĻ° āĻ¨āĻžāĻŽ āĻ†āĻĒāĻ¨āĻžāĻ° āĻĄā§‹āĻŽā§‡āĻ¨ā§‡āĻ° āĻŽāĻ¤ā§‹āĻ‡ āĻĨāĻžāĻ•ā§āĻ•, āĻ¤āĻžāĻšāĻ˛ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ•ā§‡ āĻ…āĻŦāĻļā§āĻ¯āĻ‡ āĻ¯āĻžāĻšāĻžāĻ‡ āĻ•āĻ°āĻ¤ā§‡ āĻšāĻŦā§‡ āĻ¯ā§‡ āĻ†āĻĒāĻ¨āĻŋ āĻ¯ā§‡ āĻĄā§‹āĻŽā§‡āĻ¨ā§‡āĻ° āĻŽāĻžāĻ˛āĻŋāĻ• āĻšāĻŦā§‡āĻ¨ āĻŦāĻž āĻĒāĻ°āĻŋāĻšāĻžāĻ˛āĻ¨āĻž āĻ•āĻ°āĻŦā§‡āĻ¨ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ°. āĻ¨āĻŋāĻļā§āĻšāĻŋāĻ¤ āĻ•āĻ°ā§āĻ¨ āĻ¯ā§‡ āĻ†āĻĒāĻ¨āĻŋ āĻļā§€āĻ°ā§āĻˇ-āĻ¸ā§āĻ¤āĻ°ā§‡āĻ° āĻĄā§‹āĻŽā§‡āĻ¨ āĻ¯āĻžāĻšāĻžāĻ‡ āĻ•āĻ°āĻ›ā§‡āĻ¨, āĻ¯ā§‡āĻŽāĻ¨ example.com, āĻāĻŦāĻ‚ āĻāĻ•āĻŸāĻŋ āĻ¸āĻžāĻŦāĻĄā§‹āĻŽā§‡āĻ¨ āĻ¨āĻ¯āĻŧ, āĻ¯ā§‡āĻŽāĻ¨ www.example.comāĨ¤ āĻ†āĻĒāĻ¨āĻŋ āĻ¯āĻĻāĻŋ Google Domains-āĻāĻ° āĻŽāĻžāĻ§ā§āĻ¯āĻŽā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻĄā§‹āĻŽā§‡āĻ¨ āĻ•āĻŋāĻ¨ā§‡ āĻĨāĻžāĻ•ā§‡āĻ¨, āĻ¤āĻžāĻšāĻ˛ā§‡ āĻ¯āĻžāĻšāĻžāĻ‡āĻ•āĻ°āĻŖ āĻ¸ā§āĻŦāĻ¯āĻŧāĻ‚āĻ•ā§āĻ°āĻŋāĻ¯āĻŧāĨ¤ == āĻāĻ•āĻŸāĻŋ āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ == āĻāĻ•āĻŸāĻŋ āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°āĻ¤ā§‡: āĻ•āĻ¨āĻ¸ā§‹āĻ˛ - Google āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ•āĻ¨āĻ¸ā§‹āĻ˛ā§‡, āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻŦā§āĻ°āĻžāĻ‰āĻœāĻžāĻ°āĻĒā§‡āĻœā§‡ āĻ¯āĻžāĻ¨āĨ¤ - āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ āĻ•ā§āĻ˛āĻŋāĻ• āĻ•āĻ°ā§āĻ¨āĨ¤ - āĻāĻ•āĻŸāĻŋ āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻĒā§ƒāĻˇā§āĻ āĻž āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨, āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤āĻĨā§āĻ¯ āĻ˛āĻŋāĻ–ā§āĻ¨āĨ¤ āĻĒāĻ°āĻŦāĻ°ā§āĻ¤ā§€ āĻ§āĻžāĻĒā§‡ āĻ¯ā§‡āĻ¤ā§‡, Continue-āĻ āĻ•ā§āĻ˛āĻŋāĻ• āĻ•āĻ°ā§āĻ¨āĨ¤ - āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻ¨āĻžāĻŽ āĻĻā§‡āĻ“āĻ¯āĻŧāĻžāĻ° āĻœāĻ¨ā§āĻ¯, āĻāĻ•āĻŸāĻŋ āĻ¨āĻžāĻŽ āĻ˛āĻŋāĻ–ā§āĻ¨ āĻ¯āĻž āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻ¨āĻžāĻŽā§‡āĻ° āĻĒā§āĻ°āĻ¯āĻŧā§‹āĻœāĻ¨ā§€āĻ¯āĻŧāĻ¤āĻž āĻĒā§‚āĻ°āĻŖ āĻ•āĻ°ā§‡āĨ¤ - āĻ†āĻĒāĻ¨āĻžāĻ° āĻĄā§‡āĻŸāĻž āĻ•ā§‹āĻĨāĻžāĻ¯āĻŧ āĻ¸āĻ‚āĻ°āĻ•ā§āĻˇāĻŖ āĻ•āĻ°āĻŦā§‡āĻ¨ āĻ¤āĻž āĻšāĻ¯āĻŧāĻ¨ āĻ•āĻ°āĻžāĻ° āĻœāĻ¨ā§āĻ¯, āĻāĻ•āĻŸāĻŋ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāĻ¨ā§‡āĻ° āĻ§āĻ°āĻ¨ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨ āĻāĻŦāĻ‚ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāĻ¨ āĻ¯ā§‡āĻ–āĻžāĻ¨ā§‡ āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻĄā§‡āĻŸāĻž āĻ¸ā§āĻĨāĻžāĻ¯āĻŧā§€āĻ­āĻžāĻŦā§‡ āĻ¸āĻ‚āĻ°āĻ•ā§āĻˇāĻŖ āĻ•āĻ°āĻž āĻšāĻŦā§‡āĨ¤ - āĻ†āĻĒāĻ¨āĻžāĻ° āĻĄā§‡āĻŸāĻžāĻ° āĻœāĻ¨ā§āĻ¯ āĻāĻ•āĻŸāĻŋ āĻĄāĻŋāĻĢāĻ˛ā§āĻŸ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ•ā§āĻ˛āĻžāĻ¸ āĻšāĻ¯āĻŧāĻ¨ āĻ•āĻ°āĻžāĻ° āĻœāĻ¨ā§āĻ¯, āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻœāĻ¨ā§āĻ¯ āĻāĻ•āĻŸāĻŋ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ•ā§āĻ˛āĻžāĻ¸ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨āĨ¤ āĻĄāĻŋāĻĢāĻ˛ā§āĻŸ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ•ā§āĻ˛āĻžāĻ¸ āĻĄāĻŋāĻĢāĻ˛ā§āĻŸāĻ°ā§‚āĻĒā§‡ āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ¤ā§‡ āĻ†āĻĒāĻ˛ā§‹āĻĄ āĻ•āĻ°āĻž āĻ¸āĻŽāĻ¸ā§āĻ¤ āĻŦāĻ¸ā§āĻ¤ā§āĻ° āĻœāĻ¨ā§āĻ¯ āĻ¨āĻŋāĻ°ā§āĻ§āĻžāĻ°āĻŋāĻ¤ āĻšāĻ¯āĻŧāĨ¤ āĻĻā§āĻ°āĻˇā§āĻŸāĻŦā§āĻ¯: āĻĄāĻžāĻ¨ āĻĒā§āĻ¯āĻžāĻ¨ā§‡āĻ˛ā§‡ āĻŽāĻžāĻ¸āĻŋāĻ• āĻ–āĻ°āĻš āĻ…āĻ¨ā§āĻŽāĻžāĻ¨ āĻĒā§āĻ¯āĻžāĻ¨ā§‡āĻ˛āĻŸāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻŋāĻ¤ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ•ā§āĻ˛āĻžāĻ¸ āĻāĻŦāĻ‚ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāĻ¨ā§‡āĻ° āĻĒāĻžāĻļāĻžāĻĒāĻžāĻļāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻĒā§āĻ°āĻ¤ā§āĻ¯āĻžāĻļāĻŋāĻ¤ āĻĄā§‡āĻŸāĻž āĻ†āĻ•āĻžāĻ° āĻāĻŦāĻ‚ āĻ…āĻĒāĻžāĻ°ā§‡āĻļāĻ¨āĻ—ā§āĻ˛āĻŋāĻ° āĻ‰āĻĒāĻ° āĻ­āĻŋāĻ¤ā§āĻ¤āĻŋ āĻ•āĻ°ā§‡ āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻŽāĻžāĻ¸āĻŋāĻ• āĻ–āĻ°āĻš āĻ…āĻ¨ā§āĻŽāĻžāĻ¨ āĻ•āĻ°ā§‡āĨ¤ - āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻŦāĻ¸ā§āĻ¤ā§āĻ° āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻ¨āĻŋāĻ¯āĻŧāĻ¨ā§āĻ¤ā§āĻ°āĻŖ āĻ•āĻ°āĻ¤ā§‡ āĻšāĻ¯āĻŧ āĻ¤āĻž āĻšāĻ¯āĻŧāĻ¨ āĻ•āĻ°āĻžāĻ° āĻœāĻ¨ā§āĻ¯, āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¸āĻ°ā§āĻŦāĻœāĻ¨ā§€āĻ¨ āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻĒā§āĻ°āĻ¤āĻŋāĻ°ā§‹āĻ§āĻ•ā§‡ āĻĒā§āĻ°āĻ¯āĻŧā§‹āĻ— āĻ•āĻ°ā§‡ āĻ•āĻŋāĻ¨āĻž āĻ¤āĻž āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨ āĻāĻŦāĻ‚ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻŦāĻ¸ā§āĻ¤ā§āĻ° āĻœāĻ¨ā§āĻ¯ āĻāĻ•āĻŸāĻŋ āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻ¨āĻŋāĻ¯āĻŧāĻ¨ā§āĻ¤ā§āĻ°āĻŖ āĻŽāĻĄā§‡āĻ˛ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨āĨ¤ āĻĻā§āĻ°āĻˇā§āĻŸāĻŦā§āĻ¯: āĻ¯āĻĻāĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒā§‡āĻ° āĻĒā§āĻ°āĻ¤āĻŋāĻˇā§āĻ āĻžāĻ¨ āĻ¨ā§€āĻ¤āĻŋ āĻĻā§āĻŦāĻžāĻ°āĻž āĻ¸āĻ°ā§āĻŦāĻœāĻ¨ā§€āĻ¨ āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻĒā§āĻ°āĻ¤āĻŋāĻ°ā§‹āĻ§ āĻ‡āĻ¤āĻŋāĻŽāĻ§ā§āĻ¯ā§‡āĻ‡ āĻĒā§āĻ°āĻ¯āĻŧā§‹āĻ— āĻ•āĻ°āĻž āĻšāĻ¯āĻŧ, āĻ¤āĻžāĻšāĻ˛ā§‡ āĻĒāĻžāĻŦāĻ˛āĻŋāĻ• āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻĒā§āĻ°āĻ¤āĻŋāĻ°ā§‹āĻ§ āĻ•āĻ°ā§āĻ¨ āĻ˛āĻ• āĻ•āĻ°āĻž āĻšāĻ¯āĻŧā§‡āĻ›ā§‡āĨ¤ - āĻ…āĻŦāĻœā§‡āĻ•ā§āĻŸ āĻĄā§‡āĻŸāĻž āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻ¸ā§āĻ°āĻ•ā§āĻˇāĻŋāĻ¤ āĻ•āĻ°āĻ¤ā§‡ āĻšāĻ¯āĻŧ āĻ¤āĻž āĻšāĻ¯āĻŧāĻ¨ āĻ•āĻ°āĻžāĻ° āĻœāĻ¨ā§āĻ¯, āĻ‡āĻšā§āĻ›āĻž āĻšāĻ˛ā§‡ āĻ¸ā§āĻ°āĻ•ā§āĻˇāĻž āĻ¸āĻ°āĻžā§āĻœāĻžāĻŽ āĻ•āĻ¨āĻĢāĻŋāĻ—āĻžāĻ° āĻ•āĻ°ā§āĻ¨ āĻāĻŦāĻ‚ āĻāĻ•āĻŸāĻŋ āĻĄā§‡āĻŸāĻž āĻāĻ¨āĻ•ā§āĻ°āĻŋāĻĒāĻļāĻ¨ āĻĒāĻĻā§āĻ§āĻ¤āĻŋ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻšāĻ¨ āĻ•āĻ°ā§āĻ¨āĨ¤ - āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°ā§āĻ¨ āĻ•ā§āĻ˛āĻŋāĻ• āĻ•āĻ°ā§āĻ¨āĨ¤ āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻŦā§āĻ°āĻžāĻ‰āĻœāĻžāĻ°ā§‡ āĻŦā§āĻ¯āĻ°ā§āĻĨ āĻ…āĻĒāĻžāĻ°ā§‡āĻļāĻ¨ āĻ¸āĻŽā§āĻĒāĻ°ā§āĻ•ā§‡ āĻŦāĻŋāĻļāĻĻ āĻ¤ā§āĻ°ā§āĻŸāĻŋāĻ° āĻ¤āĻĨā§āĻ¯ āĻ•ā§€āĻ­āĻžāĻŦā§‡ āĻĒā§‡āĻ¤ā§‡ āĻšāĻ¯āĻŧ āĻ¤āĻž āĻļāĻŋāĻ–āĻ¤ā§‡, āĻ¸āĻŽāĻ¸ā§āĻ¯āĻž āĻ¸āĻŽāĻžāĻ§āĻžāĻ¨ āĻĻā§‡āĻ–ā§āĻ¨āĨ¤ āĻ•āĻŽāĻžāĻ¨ā§āĻĄ āĻ˛āĻžāĻ‡āĻ¨ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° gsutil mb āĻ†āĻĻā§‡āĻļ: gsutil mb gs BUCKET_NAME āĻ•ā§‹āĻĨāĻžāĻ¯āĻŧ: āĻ¨āĻžāĻŽāĻ•āĻ°āĻŖā§‡āĻ° āĻĒā§āĻ°āĻ¯āĻŧā§‹āĻœāĻ¨ā§€āĻ¯āĻŧāĻ¤āĻž āĻ¸āĻžāĻĒā§‡āĻ•ā§āĻˇā§‡ āĻ†āĻĒāĻ¨āĻŋ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻŸāĻŋ āĻĻāĻŋāĻ¤ā§‡ āĻšāĻžāĻ¨ āĻāĻŽāĻ¨ āĻ¨āĻžāĻŽāĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖāĻ¸ā§āĻŦāĻ°ā§‚āĻĒ, BUCKET_NAME āĻ†āĻŽāĻžāĻ°-āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ…āĻ¨ā§āĻ°ā§‹āĻ§āĻŸāĻŋ āĻ¸āĻĢāĻ˛ āĻšāĻ˛ā§‡, āĻ•āĻŽāĻžāĻ¨ā§āĻĄāĻŸāĻŋ āĻ¨āĻŋāĻŽā§āĻ¨āĻ˛āĻŋāĻ–āĻŋāĻ¤ āĻŦāĻžāĻ°ā§āĻ¤āĻžāĻŸāĻŋ āĻĢā§‡āĻ°āĻ¤ āĻĻā§‡āĻ¯āĻŧ: gs BUCKET_NAME āĻ¤ā§ˆāĻ°āĻŋ āĻ•āĻ°āĻž āĻšāĻšā§āĻ›ā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋāĻ¤ā§‡ āĻ†āĻ°āĻ“ āĻŦā§‡āĻļāĻŋ āĻ¨āĻŋāĻ¯āĻŧāĻ¨ā§āĻ¤ā§āĻ°āĻŖ āĻ°āĻžāĻ–āĻ¤ā§‡ āĻ¨āĻŋāĻŽā§āĻ¨āĻ˛āĻŋāĻ–āĻŋāĻ¤ āĻāĻšā§āĻ›āĻŋāĻ• āĻĒāĻ¤āĻžāĻ•āĻžāĻ—ā§āĻ˛āĻŋ āĻ¸ā§‡āĻŸ āĻ•āĻ°ā§āĻ¨: -p: āĻĒā§āĻ°āĻœā§‡āĻ•ā§āĻŸ āĻ†āĻ‡āĻĄāĻŋ āĻŦāĻž āĻĒā§āĻ°āĻœā§‡āĻ•ā§āĻŸ āĻ¨āĻŽā§āĻŦāĻ° āĻ‰āĻ˛ā§āĻ˛ā§‡āĻ– āĻ•āĻ°ā§āĻ¨ āĻ¯āĻžāĻ° āĻ¸āĻžāĻĨā§‡ āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¯ā§āĻ•ā§āĻ¤ āĻšāĻŦā§‡āĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻ¸ā§āĻŦāĻ°ā§‚āĻĒ, āĻ†āĻŽāĻžāĻ° āĻĒā§āĻ°āĻ•āĻ˛ā§āĻĒ. -c: āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻĄāĻŋāĻĢāĻ˛ā§āĻŸ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ āĻ•ā§āĻ˛āĻžāĻ¸ āĻ¨āĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āĻŸ āĻ•āĻ°ā§āĻ¨āĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻ¸ā§āĻŦāĻ°ā§‚āĻĒ, āĻ•āĻžāĻ›āĻžāĻ•āĻžāĻ›āĻŋ -l: āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻ…āĻŦāĻ¸ā§āĻĨāĻžāĻ¨ āĻ‰āĻ˛ā§āĻ˛ā§‡āĻ– āĻ•āĻ°ā§āĻ¨āĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻ¸ā§āĻŦāĻ°ā§‚āĻĒ, US-EAST1. -b: āĻ†āĻĒāĻ¨āĻžāĻ° āĻŦāĻžāĻ˛āĻ¤āĻŋāĻ° āĻœāĻ¨ā§āĻ¯ āĻ…āĻ­āĻŋāĻ¨ā§āĻ¨ āĻŦāĻžāĻ˛āĻ¤āĻŋ-āĻ¸ā§āĻ¤āĻ°ā§‡āĻ° āĻ…ā§āĻ¯āĻžāĻ•ā§āĻ¸ā§‡āĻ¸ āĻ¸ā§‡āĻŸāĻŋāĻ‚ āĻ¨āĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āĻŸ āĻ•āĻ°ā§āĻ¨āĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻ¸ā§āĻŦāĻ°ā§‚āĻĒ, āĻšāĻžāĻ˛ā§. gsutil āĻŦāĻžāĻ˛āĻ¤āĻŋ āĻ¤ā§ˆāĻ°āĻŋāĻ° āĻŦāĻŋāĻ•āĻ˛ā§āĻĒāĻ—ā§āĻ˛āĻŋāĻ° āĻ¸āĻŽā§āĻĒā§‚āĻ°ā§āĻŖ āĻ¤āĻžāĻ˛āĻŋāĻ•āĻžāĻ° āĻœāĻ¨ā§āĻ¯, mb āĻŦāĻŋāĻ•āĻ˛ā§āĻĒāĻ—ā§āĻ˛āĻŋ āĻĻā§‡āĻ–ā§āĻ¨āĨ¤ āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ āĻ¸ā§āĻŦāĻ°ā§‚āĻĒ: gsutil mb -p PROJECT_ID-c STORAGE_CLASS-l BUCKET_LOCATION-b gs BUCKET_NAME āĻ āĻ•ā§‹āĻĄ āĻ¨āĻŽā§āĻ¨āĻž āĻ¸āĻŋ++ āĻ†āĻ°āĻ“ āĻ¤āĻĨā§āĻ¯ā§‡āĻ° āĻœāĻ¨ā§āĻ¯, āĻ•ā§āĻ˛āĻžāĻ‰āĻĄ āĻ¸ā§āĻŸā§‹āĻ°ā§‡āĻœ C++ API āĻ°ā§‡āĻĢāĻžāĻ°ā§‡āĻ¨ā§āĻ¸ āĻĄāĻ•ā§āĻŽā§‡āĻ¨ā§āĻŸā§‡āĻļāĻ¨ āĻĻā§‡āĻ–ā§āĻ¨āĨ¤ namespace gcs = ::google::Cloud::storage; ::google::Cloud::StatusOr āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻ•āĻ°ā§‡; gcs::āĻ•ā§āĻ˛āĻžāĻ¯āĻŧā§‡āĻ¨ā§āĻŸ āĻ•ā§āĻ˛āĻžāĻ¯āĻŧā§‡āĻ¨ā§āĻŸ, std::string const& bucket_name, std::string const& store_class, std::string const& āĻ…āĻŦāĻ¸ā§āĻĨāĻžāĻ¨) { StatusOr bucket_metadata = client.CreateBucket(bucket_name, gcs::BucketMetadata() .set_storage_class(storage_class) .set_location(location if (!bucket_metadata) { throw std::runtime_error(bucket_metadata.statusmessage } std::cout << "Bucket " << bucket_metadata->name() << " created." << " Full Metadata: " << *bucket_metadata << " "; } C# For more information, see the Cloud Storage C# API reference documentation. using Google.Apis.Storage.v1.Data; using Google.Cloud.Storage.V1; using System; public class CreateRegionalBucketSample {Creates a storage bucket with region.The ID of the project to create the buckets inparam>The location of the bucket. Object data for objects in the bucket resides inphysical storage within this region. Defaults to USparam>The name of the bucket to createparam>The bucket's default storage class, used whenever no storageClass is specifiedfor a newly-created object. This defines how objects in the bucket are storedand determines the SLA and the cost of storage. Values include MULTI_REGIONAL,REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY.If this value is not specified when the bucket is created, it will default toSTANDARDparam> public Bucket CreateRegionalBucket( string projectId = "your-project-id", string bucketName = "your-unique-bucket-name", string location = "us-west1", string storageClass = "REGIONAL") { var storage = StorageClient.Create Bucket bucket = new Bucket { Location = location, Name = bucketName, StorageClass = storageClass }; var newlyCreatedBucket = storage.CreateBucket(projectId, bucket); Console.WriteLineCreated {bucketName return newlyCreatedBucket; } } Go For more information, see the Cloud Storage Go API reference documentation. import ( "context" "fmt" "io" "time" "cloud.google.com/go/storage" ) // createBucketClassLocation creates a new bucket in the project with Storage class and // location. func createBucketClassLocation(w io.Writer, projectID, bucketName string) error { // projectID := "my-project-id" // bucketName := "bucket-name" ctx := context.Background() client, err := storage.NewClient(ctx) if err != nil { return fmt.Errorf("storage.NewClient: %v", err) } defer client.Close() ctx, cancel := context.WithTimeout(ctx, time.Second*10) defer cancel() storageClassAndLocation := &storage.BucketAttrs{ StorageClass: "COLDLINE", Location: "asia", } bucket := client.Bucket(bucketName) if err := bucket.Create(ctx, projectID, storageClassAndLocation); err != nil { return fmt.Errorf("Bucket(%q).Create: %v", bucketName, err) } fmt.Fprintf(w, "Created bucket %v in %v with storage class %v ", bucketName, storageClassAndLocation.Location, storageClassAndLocation.StorageClass) return nil } Java For more information, see the Cloud Storage Java API reference documentation. import com.google.cloud.storage.Bucket; import com.google.cloud.storage.BucketInfo; import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageClass; import com.google.cloud.storage.StorageOptions; public class CreateBucketWithStorageClassAndLocation { public static void createBucketWithStorageClassAndLocation(String projectId, String bucketName) { // The ID of your GCP project // String projectId = "your-project-id"; // The ID to give your GCS bucket // String bucketName = "your-unique-bucket-name"; Storage storage = StorageOptions.newBuildersetProjectId(projectId).buildgetService // See the StorageClass documentation for other valid storage classes: // httpsgoogleapis.dev/java/google-cloud-clients/latest/com/google/cloud/storage/StorageClass.html StorageClass storageClass = StorageClass.COLDLINE; // See this documentation for other valid locations: // httpg.co/cloud/storage/docs/bucket-locations#location-mr String location = "ASIA"; Bucket bucket = storage.create( BucketInfo.newBuilder(bucketName) .setStorageClass(storageClass) .setLocation(location) .build System.out.println( "Created bucket " + bucket.getName() + " in " + bucket.getLocation() + " with storage class " + bucket.getStorageClass } } Node.js For more information, see the Cloud Storage Node.js API reference documentation. * TODO(developer): Uncomment the following lines before running the sample. */ // The ID of your GCS bucket // const bucketName = 'your-unique-bucket-name'; // The name of a storage class // See the StorageClass documentation for other valid storage classes: // httpsgoogleapis.dev/java/google-cloud-clients/latest/com/google/cloud/storage/StorageClass.html // const storageClass = 'coldline'; // The name of a location // See this documentation for other valid locations: // httpg.co/cloud/storage/docs/locations#location-mr // const location = 'ASIA'; // Imports the Google Cloud client library const {Storage} = requiregoogle-cloud/storage // Creates a client // The bucket in the sample below will be created in the project associated with this client. // For more information, please see httpscloud.google.com/docs/authentication/production or httpsgoogleapis.dev/nodejs/storage/latest/Storage.html const storage = new Storage async function createBucketWithStorageClassAndLocation() { // For default values see: httpscloud.google.com/storage/docs/locations and // httpscloud.google.com/storage/docs/storage-classes const [bucket] = await storage.createBucket(bucketName, { location, [storageClass]: true,console.log( bucket.name} created with ${storageClass} class in ${location}` ); } createBucketWithStorageClassAndLocationcatch(console.error); PHP For more information, see the Cloud Storage PHP API reference documentation. use Google\Cloud\Storage\StorageClient;* Create a new bucket with a custom default storage class and location. * * @param string $bucketName The name of your Cloud Storage bucket. */ function create_bucket_class_location($bucketName) { // $bucketName = 'my-bucket'; $storage = new StorageClient $storageClass = 'COLDLINE'; $location = 'ASIA'; $bucket = $storage->createBucket($bucketName, [ 'storageClass' => $storageClass, 'location' => $location,$objects = $bucket->objects([ 'encryption' => [ 'defaultKmsKeyName' => null, ]printf('Created bucket %s in %s with storage class %s', $bucketName, $storageClass, $location); } Python For more information, see the Cloud Storage Python API reference documentation. from google.cloud import storage def create_bucket_class_location(bucket_name):Create a new bucket in the US region with the coldline storage class# bucket_name = "your-new-bucket-name" storage_client = storage.Client() bucket = storage_client.bucket(bucket_name) bucket.storage_class = "COLDLINE" new_bucket = storage_client.create_bucket(bucket, location="us") print( "Created bucket {} in {} with storage class format( new_bucket.name, new_bucket.location, new_bucket.storage_class ) ) return new_bucket Ruby For more information, see the Cloud Storage Ruby API reference documentation. def create_bucket_class_location bucket_name: # The ID to give your GCS bucket # bucket_name = "your-unique-bucket-name" require "google/cloud/storage" storage = Google::Cloud::Storage.new bucket = storage.create_bucket bucket_name, location: "ASIA", storage_class: "COLDLINE" puts "Created bucket #{bucket.name} in #{bucket.location} with #{bucket.storage_class} class" end Terraform You can use a Terraform resource to create a storage bucket. # Create new storage bucket in the US multi-region # with coldline storage resource "google_storage_bucket" "static" { name = "new-bucket" location = "US" storage_class = "COLDLINE" uniform_bucket_level_access = true } REST APIS JSON API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. - Create a .json file that contains the settings for the bucket, which must include a namefor the bucket. See the Buckets:Insert documentation for a complete list of settings. The following are common settings to include: { "name": " BUCKET_NAME", "location": " BUCKET_LOCATION", "storageClass": " STORAGE_CLASS", "iamConfiguration": { "uniformBucketLevelAccess": { "enabled": true }, } } Where: is the name you want to give your bucket, subject to naming requirements. For example, BUCKET_NAME my-bucket. is the location where you want to store your bucket's object data. For example, BUCKET_LOCATION US-EAST1. is the default storage class of your bucket. For example, STORAGE_CLASS NEARLINE. cURLto call the JSON API: curl -X POST --data-binary @ JSON_FILE_NAME.json \ -H "Authorization: Bearer OAUTH2_TOKEN" \ -H "Content-Type: application/json" \ "httpsstorage.googleapis.com/storage/v1/b?project= PROJECT_IDENTIFIER" Where: is name of the JSON file you created in Step 2. JSON_FILE_NAME is the access token you generated in Step 1. OAUTH2_TOKEN is the ID or number of the project with which your bucket will be associated. For example, PROJECT_IDENTIFIER my-project. XML API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. - Create a .xml file that contains the following information: BUCKET_LOCATION STORAGE_CLASS Where: is the location where you want to store your bucket's object data. For example, BUCKET_LOCATION US-EAST1. is the default storage class of your bucket. For example, STORAGE_CLASS NEARLINE. cURLto call the XML API: curl -X PUT --data-binary @ XML_FILE_NAME.xml \ -H "Authorization: Bearer OAUTH2_TOKEN" \ -H "x-goog-project-id: PROJECT_ID" \ "httpsstorage.googleapis.com/ BUCKET_NAME" Where: is name of the XML file you created in Step 2. XML_FILE_NAME is the access token you generated in Step 1. OAUTH2_TOKEN is the ID of the project with which your bucket will be associated. For example, PROJECT_ID my-project. is the name you want to give your bucket, subject to naming requirements. For example, BUCKET_NAME my-bucket. == Upload your site's files == Add the files you want your website to serve to the bucket: Console - In the Google Cloud console, go to the Cloud Storage Browserpage. In the list of buckets, click the name of the bucket that you created. TheBucket detailspage opens with the Objectstab selected. Click theUpload filesbutton. In the file dialog, browse to the desired file and select it. After the upload completes, you should see the filename along with file information displayed in the bucket. To learn how to get detailed error information about failed operations in the Cloud Storage browser, see Troubleshooting. gsutil Use the gsutil cp command to copy files to your bucket. For example, to copy the file index.html from its current location Desktop to the bucket my-static-assets: gsutil cp Desktop/index.html gsmy-static-assets If successful, the command returns: Copying fileDesktop/index.html [Content-Type=text/html Uploading gsmy-static-assets/index.html: 0 B/2.58 KiB Uploading gsmy-static-assets/index.html: 2.58 KiB/2.58 KiB Code samples For more information, see the Cloud Storage C++ API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage C# API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Go API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Java API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Node.js API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage PHP API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Python API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Ruby API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: == C++ == namespace gcs = ::google::cloud::storage; using ::google::cloud::StatusOr; gcs::Client client, std::string const& file_name, std::string const& bucket_name, std::string const& object_name) { // Note that the client library automatically computes a hash on the // client-side to verify data integrity during transmission. StatusOr metadata = client.UploadFile( file_name, bucket_name, object_name, gcs::IfGenerationMatch(0 if (!metadata) throw std::runtime_error(metadata.statusmessage std::cout << "Uploaded " << file_name << " to object " << metadata->name() << " in bucket " << metadata->bucket() << " Full metadata: " << *metadata << " "; } namespace gcs = ::google::cloud::storage; using ::google::cloud::StatusOr; gcs::Client client, std::string const& bucket_name, std::string const& object_name) { std::string const text = "Lorem ipsum dolor sit amet"; std::vector v(100, text); gcs::ObjectWriteStream stream = client.WriteObject(bucket_name, object_name); std::copy(v.begin v.end std::ostream_iterator(stream stream.Close StatusOr metadata = std::move(stream).metadata if (!metadata) throw std::runtime_error(metadata.statusmessage std::cout << "Successfully wrote to object " << metadata->name() << " its size is: " << metadata->size() << " Full metadata: " << *metadata << " "; } == C# == using Google.Cloud.Storage.V1; using System; using System.IO; public class UploadFileSample { public void UploadFile( string bucketName = "your-unique-bucket-name", string localPath = "my-local-path/my-file-name", string objectName = "my-file-name") { var storage = StorageClient.Create using var fileStream = File.OpenRead(localPath); storage.UploadObject(bucketName, objectName, null, fileStream); Console.WriteLineUploaded {objectName } } using Google.Cloud.Storage.V1; using System; using System.IO; using System.Text; public class UploadObjectFromMemorySample { public void UploadObjectFromMemory( string bucketName = "unique-bucket-name", string objectName = "file-name", string contents = "Hello world { var storage = StorageClient.Create byte[] byteArray = Encoding.UTF8.GetBytes(contents); MemoryStream stream = new MemoryStream(byteArray); storage.UploadObject(bucketName, objectName, "application/octet-stream" , stream); Console.WriteLine {objectName} uploaded to bucket {bucketName} with contents: {contents } } == Go == import ( "context" "fmt" "io" "os" "time" "cloud.google.com/go/storage" ) // uploadFile uploads an object. func uploadFile(w io.Writer, bucket, object string) error { // bucket := "bucket-name" // object := "object-name" ctx := context.Background() client, err := storage.NewClient(ctx) if err != nil { return fmt.Errorf("storage.NewClient: %v", err) } defer client.Close() // Open local file. f, err := os.Open("notes.txt") if err != nil { return fmt.Errorf("os.Open: %v", err) } defer f.Close() ctx, cancel := context.WithTimeout(ctx, time.Second*50) defer cancel() o := client.Bucket(bucket).Object(object) // Optional: set a generation-match precondition to avoid potential race // conditions and data corruptions. The request to upload is aborted if the // object's generation number does not match your precondition. // For an object that does not yet exist, set the DoesNotExist precondition. o = o.If(storage.Conditions{DoesNotExist: true}) // If the live object already exists in your bucket, set instead a // generation-match precondition using the live object's generation number. // attrs, err := o.Attrs(ctx) // if err != nil { // return fmt.Errorf("object.Attrs: %v", err) // } // o = o.If(storage.Conditions{GenerationMatch: attrs.Generation}) // Upload an object with storage.Writer. wc := o.NewWriter(ctx) if _, err = io.Copy(wc, f); err != nil { return fmt.Errorf("io.Copy: %v", err) } if err := wc.Close err != nil { return fmt.Errorf("Writer.Close: %v", err) } fmt.Fprintf(w, "Blob %v uploaded. ", object) return nil } import ( "bytes" "context" "fmt" "io" "time" "cloud.google.com/go/storage" ) // streamFileUpload uploads an object via a stream. func streamFileUpload(w io.Writer, bucket, object string) error { // bucket := "bucket-name" // object := "object-name" ctx := context.Background() client, err := storage.NewClient(ctx) if err != nil { return fmt.Errorf("storage.NewClient: %v", err) } defer client.Close() b := []byte("Hello world buf := bytes.NewBuffer(b) ctx, cancel := context.WithTimeout(ctx, time.Second*50) defer cancel() // Upload an object with storage.Writer. wc := client.Bucket(bucket).Object(object).NewWriter(ctx) wc.ChunkSize = 0 // note retries are not supported for chunk size 0. if _, err = io.Copy(wc, buf); err != nil { return fmt.Errorf("io.Copy: %v", err) } // Data can continue to be added to the file until the writer is closed. if err := wc.Close err != nil { return fmt.Errorf("Writer.Close: %v", err) } fmt.Fprintf(w, "%v uploaded to %v. ", object, bucket) return nil } == Java == import com.google.cloud.storage.BlobId; import com.google.cloud.storage.BlobInfo; import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageOptions; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; public class UploadObject { public static void uploadObject( String projectId, String bucketName, String objectName, String filePath) throws IOException { // The ID of your GCP project // String projectId = "your-project-id"; // The ID of your GCS bucket // String bucketName = "your-unique-bucket-name"; // The ID of your GCS object // String objectName = "your-object-name"; // The path to your file to upload // String filePath = "path/to/your/file" Storage storage = StorageOptions.newBuildersetProjectId(projectId).buildgetService BlobId blobId = BlobId.of(bucketName, objectName); BlobInfo blobInfo = BlobInfo.newBuilder(blobId).build storage.create(blobInfo, Files.readAllBytes(Paths.get(filePath System.out.println( "File " + filePath + " uploaded to bucket " + bucketName + " as " + objectName); } } import com.google.cloud.storage.BlobId; import com.google.cloud.storage.BlobInfo; import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageOptions; import java.io.ByteArrayInputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; public class UploadObjectFromMemory { public static void uploadObjectFromMemory( String projectId, String bucketName, String objectName, String contents) throws IOException { // The ID of your GCP project // String projectId = "your-project-id"; // The ID of your GCS bucket // String bucketName = "your-unique-bucket-name"; // The ID of your GCS object // String objectName = "your-object-name"; // The string of contents you wish to upload // String contents = "Hello world Storage storage = StorageOptions.newBuildersetProjectId(projectId).buildgetService BlobId blobId = BlobId.of(bucketName, objectName); BlobInfo blobInfo = BlobInfo.newBuilder(blobId).build byte[] content = contents.getBytes(StandardCharsets.UTF_8); storage.createFrom(blobInfo, new ByteArrayInputStream(content System.out.println( "Object " + objectName + " uploaded to bucket " + bucketName + " with contents " + contents); } } == Node.js == * TODO(developer): Uncomment the following lines before running the sample. */ // The ID of your GCS bucket // const bucketName = 'your-unique-bucket-name'; // The path to your file to upload // const filePath = 'path/to/your/file'; // The new ID for your GCS file // const destFileName = 'your-new-file-name'; // Imports the Google Cloud client library const {Storage} = requiregoogle-cloud/storage // Creates a client const storage = new Storage async function uploadFile() { await storage.bucket(bucketName).upload(filePath, { destination: destFileName, console.logfilePath} uploaded to ${bucketName } uploadFilecatch(console.error); * TODO(developer): Uncomment the following lines before running the sample. */ // The ID of your GCS bucket // const bucketName = 'your-unique-bucket-name'; // The contents that you want to upload // const contents = 'these are my contents'; // The new ID for your GCS file // const destFileName = 'your-new-file-name'; // Imports the Google Cloud Node.js client library const {Storage} = requiregoogle-cloud/storage // Creates a client const storage = new Storage async function uploadFromMemory() { await storage.bucket(bucketName).file(destFileName).save(contents); console.log( destFileName} with contents ${contents} uploaded to ${bucketName ); } uploadFromMemorycatch(console.error); == PHP == use Google\Cloud\Storage\StorageClient; * Upload a file. * * @param string $bucketName The name of your Cloud Storage bucket. * @param string $objectName The name of your Cloud Storage object. * @param string $source The path to the file to upload. */ function upload_object($bucketName, $objectName, $source) { // $bucketName = 'my-bucket'; // $objectName = 'my-object'; // $source = '/path/to/your/file'; $storage = new StorageClient $file = fopen($source, 'r $bucket = $storage->bucket($bucketName); $object = $bucket->upload($file, [ 'name' => $objectName printf('Uploaded %s to gss/%s' . PHP_EOL, basename($source), $bucketName, $objectName); } use Google\Cloud\Storage\StorageClient; * Upload an object from memory buffer. * * @param string $bucketName The name of your Cloud Storage bucket. * @param string $objectName The name of your Cloud Storage object. * @param string $contents The contents to upload to the file. */ function upload_object_from_memory( string $bucketName, string $objectName, string $contents ): void { // $bucketName = 'my-bucket'; // $objectName = 'my-object'; // $contents = 'these are my contents'; $storage = new StorageClient $stream = fopen('datatext/plain,' . $contents, 'r $bucket = $storage->bucket($bucketName); $bucket->upload($stream, [ 'name' => $objectName, printf('Uploaded %s to gss/%s' . PHP_EOL, $contents, $bucketName, $objectName); } == Python == from google.cloud import storage def upload_blob(bucket_name, source_file_name, destination_blob_name): Uploads a file to the bucket # The ID of your GCS bucket # bucket_name = "your-bucket-name" # The path to your file to upload # source_file_name = "local/path/to/file" # The ID of your GCS object # destination_blob_name = "storage-object-name" storage_client = storage.Client() bucket = storage_client.bucket(bucket_name) blob = bucket.blob(destination_blob_name) blob.upload_from_filename(source_file_name) print( "File {} uploaded to format( source_file_name, destination_blob_name ) ) from google.cloud import storage def upload_blob_from_memory(bucket_name, contents, destination_blob_name): Uploads a file to the bucket # The ID of your GCS bucket # bucket_name = "your-bucket-name" # The contents to upload to the file # contents = "these are my contents" # The ID of your GCS object # destination_blob_name = "storage-object-name" storage_client = storage.Client() bucket = storage_client.bucket(bucket_name) blob = bucket.blob(destination_blob_name) blob.upload_from_string(contents) print( with contents {} uploaded to format( destination_blob_name, contents, bucket_name ) ) == Ruby == def upload_file bucket_name:, local_file_path:, file_name: nil # The ID of your GCS bucket # bucket_name = "your-unique-bucket-name" # The path to your file to upload # local_file_path = "/local/path/to/file.txt" # The ID of your GCS object # file_name = "your-file-name" require "google/cloud/storage" storage = Google::Cloud::Storage.new bucket = storage.bucket bucket_name, skip_lookup: true file = bucket.create_file local_file_path, file_name puts "Uploaded #{local_file_path} as #{file.name} in bucket #{bucket_name}" end # The ID of your GCS bucket # bucket_name = "your-unique-bucket-name" # The ID of your GCS object # file_name = "your-file-name" # The contents to upload to your file # file_content = "Hello, world!" require "google/cloud/storage" storage = Google::Cloud::Storage.new bucket = storage.bucket bucket_name, skip_lookup: true file = bucket.create_file StringIO.new(file_content), file_name puts "Uploaded file #{file.name} to bucket #{bucket_name} with content: #{file_content}" For more information, see the Cloud Storage C++ API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage C# API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Go API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Java API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Node.js API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage PHP API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Python API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: For more information, see the Cloud Storage Ruby API reference documentation. The following sample uploads an object from a file: The following sample uploads an object from memory: REST APIs JSON API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. Use cURLto call the JSON API with a POSTObject request. For the file index.htmluploaded to a bucket named my-static-assets: curl -X POST --data-binary @index.html \ -H "Content-Type: text/html" \ -H "Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg" \ "httpsstorage.googleapis.com/upload/storage/v1/b/my-static-assets/o?uploadType=media&name=index.html" XML API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. Use cURLto call the XML API with a PUTObject request. For the file index.htmluploaded to a bucket named my-static-assets: curl -X PUT --data-binary @index.html \ -H "Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg" \ -H "Content-Type: text/html" \ "httpsstorage.googleapis.com/my-static-assets/index.html" == Share your files == To make all objects in your bucket readable to anyone on the public internet: Console - In the Google Cloud console, go to the Cloud Storage Browserpage. In the list of buckets, click the name of the bucket that you want to make public. Select thePermissionstab near the top of the page. Click the + Addbutton. TheAdd principalsdialog box appears. In theNew principalsfield, enter allUsers. In theSelect a roledrop down, select the Cloud Storagesub-menu, and click the Storage Object Vieweroption. ClickSave. ClickAllow public access. Once shareda **link** icon appears for each object in the *public access* column. You can click this icon to get the URL for the object. To learn how to get detailed error information about failed operations in the Cloud Storage browser, see Troubleshooting. gsutil Use the gsutil iam ch command: gsutil iam ch allUsers:objectViewer gsmy-static-assets Code samples For more information, see the Cloud Storage C++ API reference documentation. For more information, see the Cloud Storage Go API reference documentation. For more information, see the Cloud Storage Java API reference documentation. For more information, see the Cloud Storage Node.js API reference documentation. For more information, see the Cloud Storage Python API reference documentation. For more information, see the Cloud Storage Ruby API reference documentation. == C++ == namespace gcs = ::google::cloud::storage; using ::google::cloud::StatusOr; gcs::Client client, std::string const& bucket_name) { auto current_policy = client.GetNativeBucketIamPolicy( bucket_name, gcs::RequestedPolicyVersion(3 if (!current_policy) { throw std::runtime_error(current_policy.statusmessage } current_policy->set_version(3); current_policy->bindingsemplace_back( gcs::NativeIamBinding("roles/storage.objectViewer", {"allUsers auto updated = client.SetNativeBucketIamPolicy(bucket_name, *current_policy); if (!updated) throw std::runtime_error(updated.statusmessage std::cout << "Policy successfully updated: " << *updated << " "; } == Go == import ( "context" "fmt" "io" "cloud.google.com/go/iam" "cloud.google.com/go/storage" iampb "google.golang.org/genproto/googleapis/iam/v1" ) // setBucketPublicIAM makes all objects in a bucketreadable. func setBucketPublicIAM(w io.Writer, bucketName string) error { // bucketName := "bucket-name" ctx := context.Background() client, err := storage.NewClient(ctx) if err != nil { return fmt.Errorf("storage.NewClient: %v", err) } defer client.Close() policy, err := client.Bucket(bucketName).IAMV3Policy(ctx) if err != nil { return fmt.Errorf("Bucket(%q).IAMV3Policy: %v", bucketName, err) } role := "roles/storage.objectViewer" policy.Bindings = append(policy.Bindings, &iampb.Binding{ Role: role, Members: []string{iam.AllUsers}, }) if err := client.Bucket(bucketName).IAMV3SetPolicy(ctx, policy); err != nil { return fmt.Errorf("Bucket(%q).IAMSetPolicy: %v", bucketName, err) } fmt.Fprintf(w, "Bucket %v is nowreadable ", bucketName) return nil } == Java == import com.google.cloud.Identity; import com.google.cloud.Policy; import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageOptions; import com.google.cloud.storage.StorageRoles; public class MakeBucketPublic { public static void makeBucketPublic(String projectId, String bucketName) { // The ID of your GCP project // String projectId = "your-project-id"; // The ID of your GCS bucket // String bucketName = "your-unique-bucket-name"; Storage storage = StorageOptions.newBuildersetProjectId(projectId).buildgetService Policy originalPolicy = storage.getIamPolicy(bucketName); storage.setIamPolicy( bucketName, originalPolicy .toBuilder() .addIdentity(StorageRoles.objectViewer Identity.allUsers // All users can view .build System.out.println("Bucket " + bucketName + " is nowreadable } } == Node.js == * TODO(developer): Uncomment the following lines before running the sample. */ // The ID of your GCS bucket // const bucketName = 'your-unique-bucket-name'; // Imports the Google Cloud client library const {Storage} = requiregoogle-cloud/storage // Creates a client const storage = new Storage async function makeBucketPublic() { await storage.bucket(bucketName).makePublic console.log(`Bucket ${bucketName} is nowreadable } makeBucketPubliccatch(console.error); == Python == from typing import List from google.cloud import storage def set_bucket_public_iam( bucket_name: str = "your-bucket-name", members: List[str] = ["allUsers ): Set a public IAM Policy to bucket # bucket_name = "your-bucket-name" storage_client = storage.Client() bucket = storage_client.bucket(bucket_name) policy = bucket.get_iam_policy(requested_policy_version=3) policy.bindings.append( {"role": "roles/storage.objectViewer", "members": members} ) bucket.set_iam_policy(policy) print("Bucket {} is nowreadable".format(bucket.name)) == Ruby == def set_bucket_public_iam bucket_name: # The ID of your GCS bucket # bucket_name = "your-unique-bucket-name" require "google/cloud/storage" storage = Google::Cloud::Storage.new bucket = storage.bucket bucket_name bucket.policy do |p| p.add "roles/storage.objectViewer", "allUsers" end puts "Bucket #{bucket_name} is nowreadable" end For more information, see the Cloud Storage C++ API reference documentation. For more information, see the Cloud Storage Go API reference documentation. For more information, see the Cloud Storage Java API reference documentation. For more information, see the Cloud Storage Node.js API reference documentation. For more information, see the Cloud Storage Python API reference documentation. For more information, see the Cloud Storage Ruby API reference documentation. REST APIs JSON API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. Create a JSON file that contains the following information: { "bindings { "role": "roles/storage.objectViewer", "membersallUsers"] } ] } Use cURLto call the JSON API with a PUTBucket request: curl -X PUT --data-binary @ JSON_FILE_NAME\ -H "Authorization: Bearer OAUTH2_TOKEN" \ -H "Content-Type: application/json" \ "httpsstorage.googleapis.com/storage/v1/b/ BUCKET_NAME/iam" Where: is the path for the JSON file that you created in Step 2. JSON_FILE_NAME is the access token you created in Step 1. OAUTH2_TOKEN is the name of the bucket whose objects you want to make public. For example, BUCKET_NAME my-static-assets. XML API Making all objects in a bucketreadable is not supported by the XML API. Use gsutil or the JSON API instead, or set ACLs for each individual object. To make individual objects in your bucketaccessible, you need to switch your bucket's **Access control** mode to **Fine-grained Generally, making all files in your bucketaccessible is easier and faster. Visitors receive a http 403 response code when requesting the URL for a non-public or non-existent file. See the next section for information on how to add an error page that uses a http 404 response code. == Recommended: Assign specialty pages == You can assign an index page suffix, which is controlled by the MainPageSuffix property, and a custom error page, which is controlled by the NotFoundPage property. Assigning either is optional, but without an index page, nothing is served when users access your top-level site, for example, httpswww.example.com. For more information about the MainPageSuffix and NotFoundPage properties, see Specialty pages. In the following sample, the MainPageSuffix is set to index.html and NotFoundPage is set to 404.html: Console - In the Google Cloud console, go to the Cloud Storage Browserpage. In the list of buckets, find the bucket you created. Click theBucket overflowmenu ( ) associated with the bucket and select Edit website configuration. In the website configuration dialog, specify the main page and error page. ClickSave. To learn how to get detailed error information about failed operations in the Cloud Storage browser, see Troubleshooting. gsutil Use the gsutil web set command to set the MainPageSuffix property with the -m flag and the NotFoundPage with the -e flag: gsutil web set -m index.html -e 404.html gsmy-static-assets If successful, the command returns: Setting website config on gsmy-static-assets Code samples For more information, see the Cloud Storage C++ API reference documentation. For more information, see the Cloud Storage C# API reference documentation. For more information, see the Cloud Storage Go API reference documentation. For more information, see the Cloud Storage Java API reference documentation. For more information, see the Cloud Storage Node.js API reference documentation. For more information, see the Cloud Storage PHP API reference documentation. For more information, see the Cloud Storage Python API reference documentation. For more information, see the Cloud Storage Ruby API reference documentation. == C++ == namespace gcs = ::google::cloud::storage; using ::google::cloud::StatusOr; gcs::Client client, std::string const& bucket_name, std::string const& main_page_suffix, std::string const& not_found_page) { StatusOr original = client.GetBucketMetadata(bucket_name); if (!original) throw std::runtime_error(original.statusmessage StatusOr patched_metadata = client.PatchBucket( bucket_name, gcs::BucketMetadataPatchBuilderSetWebsite( gcs::BucketWebsite{main_page_suffix, not_found_page gcs::IfMetagenerationMatch(original->metageneration if (!patched_metadata) { throw std::runtime_error(patched_metadata.statusmessage } if (!patched_metadata->has_website { std::cout << "Static website configuration is not set for bucket " << patched_metadata->name() << " "; return; } std::cout << "Static website configuration successfully set for bucket " << patched_metadata->name() << " New main page suffix is: " << patched_metadata->websitemain_page_suffix << " New not found page is: " << patched_metadata->websitenot_found_page << " "; } == C# == using Google.Apis.Storage.v1.Data; using Google.Cloud.Storage.V1; using System; public class BucketWebsiteConfigurationSample { public Bucket BucketWebsiteConfiguration( string bucketName = "your-bucket-name", string mainPageSuffix = "index.html", string notFoundPage = "404.html") { var storage = StorageClient.Create var bucket = storage.GetBucket(bucketName); if (bucket.Website == null) { bucket.Website = new Bucket.WebsiteData } bucket.Website.MainPageSuffix = mainPageSuffix; bucket.Website.NotFoundPage = notFoundPage; bucket = storage.UpdateBucket(bucket); Console.WriteLineStatic website bucket {bucketName} is set up to use {mainPageSuffix} as the index page and {notFoundPage} as the 404 not found page return bucket; } } == Go == import ( "context" "fmt" "io" "time" "cloud.google.com/go/storage" ) // setBucketWebsiteInfo sets website configuration on a bucket. func setBucketWebsiteInfo(w io.Writer, bucketName, indexPage, notFoundPage string) error { // bucketName := "www.example.com" // indexPage := "index.html" // notFoundPage := "404.html" ctx := context.Background() client, err := storage.NewClient(ctx) if err != nil { return fmt.Errorf("storage.NewClient: %v", err) } defer client.Close() ctx, cancel := context.WithTimeout(ctx, time.Second*10) defer cancel() bucket := client.Bucket(bucketName) bucketAttrsToUpdate := storage.BucketAttrsToUpdate{ Website: &storage.BucketWebsite{ MainPageSuffix: indexPage, NotFoundPage: notFoundPage, }, } if _, err := bucket.Update(ctx, bucketAttrsToUpdate); err != nil { return fmt.Errorf("Bucket(%q).Update: %v", bucketName, err) } fmt.Fprintf(w, "Static website bucket %v is set up to use %v as the index page and %v as the 404 page ", bucketName, indexPage, notFoundPage) return nil } == Java == import com.google.cloud.storage.Bucket; import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageOptions; public class SetBucketWebsiteInfo { public static void setBucketWesbiteInfo( String projectId, String bucketName, String indexPage, String notFoundPage) { // The ID of your GCP project // String projectId = "your-project-id"; // The ID of your static website bucket // String bucketName = "www.example.com"; // The index page for a static website bucket // String indexPage = "index.html"; // The 404 page for a static website bucket // String notFoundPage = "404.html"; Storage storage = StorageOptions.newBuildersetProjectId(projectId).buildgetService Bucket bucket = storage.get(bucketName); bucket.toBuildersetIndexPage(indexPage).setNotFoundPage(notFoundPage).buildupdate System.out.println( "Static website bucket " + bucketName + " is set up to use " + indexPage + " as the index page and " + notFoundPage + " as the 404 page } } == Node.js == * TODO(developer): Uncomment the following lines before running the sample. */ // The ID of your GCS bucket // const bucketName = 'your-unique-bucket-name'; // The name of the main page // const mainPageSuffix = 'httpexample.com'; // The Name of a 404 page // const notFoundPage = 'httpexample.com/404.html'; // Imports the Google Cloud client library const {Storage} = requiregoogle-cloud/storage // Creates a client const storage = new Storage async function addBucketWebsiteConfiguration() { await storage.bucket(bucketName).setMetadata({ website: { mainPageSuffix, notFoundPage, }, console.log( `Static website bucket ${bucketName} is set up to use ${mainPageSuffix} as the index page and ${notFoundPage} as the 404 page` ); } addBucketWebsiteConfigurationcatch(console.error); == PHP == use Google\Cloud\Storage\StorageClient; * Update the given bucket's website configuration. * * @param string $bucketName The name of your Cloud Storage bucket. * @param string $indexPageObject the name of an object in the bucket to use as * an index page for a static website bucket. * @param string $notFoundPageObject the name of an object in the bucket to use * as the 404 Not Found page. */ function define_bucket_website_configuration($bucketName, $indexPageObject, $notFoundPageObject) { // $bucketName = 'my-bucket'; // $indexPageObject = 'index.html'; // $notFoundPageObject = '404.html'; $storage = new StorageClient $bucket = $storage->bucket($bucketName); $bucket->update([ 'website' => [ 'mainPageSuffix' => $indexPageObject, 'notFoundPage' => $notFoundPageObject ] printf( 'Static website bucket %s is set up to use %s as the index page and %s as the 404 page $bucketName, $indexPageObject, $notFoundPageObject ); } == Python == from google.cloud import storage def define_bucket_website_configuration(bucket_name, main_page_suffix, not_found_page): Configure website-related properties of bucket # bucket_name = "your-bucket-name" # main_page_suffix = "index.html" # not_found_page = "404.html" storage_client = storage.Client() bucket = storage_client.get_bucket(bucket_name) bucket.configure_website(main_page_suffix, not_found_page) bucket.patch() print( "Static website bucket {} is set up to use {} as the index page and {} as the 404 page".format( bucket.name, main_page_suffix, not_found_page ) ) return bucket == Ruby == def define_bucket_website_configuration bucket_name:, main_page_suffix:, not_found_page: # The ID of your static website bucket # bucket_name = "www.example.com" # The index page for a static website bucket # main_page_suffix = "index.html" # The 404 page for a static website bucket # not_found_page = "404.html" require "google/cloud/storage" storage = Google::Cloud::Storage.new bucket = storage.bucket bucket_name bucket.update do |b| b.website_main = main_page_suffix b.website_404 = not_found_page end puts "Static website bucket #{bucket_name} is set up to use #{main_page_suffix} as the index page and " not_found_page} as the 404 page" end For more information, see the Cloud Storage C++ API reference documentation. For more information, see the Cloud Storage C# API reference documentation. For more information, see the Cloud Storage Go API reference documentation. For more information, see the Cloud Storage Java API reference documentation. For more information, see the Cloud Storage Node.js API reference documentation. For more information, see the Cloud Storage PHP API reference documentation. For more information, see the Cloud Storage Python API reference documentation. For more information, see the Cloud Storage Ruby API reference documentation. REST APIs JSON API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. Create a JSON file that sets the mainPageSuffixand notFoundPageproperties in a websiteobject to the desired pages: { "website "mainPageSuffix": "index.html", "notFoundPage": "404.html" } } Use cURLto call the JSON API with a PATCHBucket request. For the bucket my-static-assets: curl -X PATCH --data-binary @web-config.json \ -H "Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg" \ -H "Content-Type: application/json" \ "httpsstorage.googleapis.com/storage/v1/b/my-static-assets" XML API - Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials. For instructions, see API authentication. Create an XML file that sets the MainPageSuffixand NotFoundPageelements in a WebsiteConfigurationelement to the desired pages: index.html 404.html Use cURLto call the XML API with a PUTBucket request and websiteConfigquery string parameter. For my-static-assets: curl -X PUT --data-binary @web-config.xml \ -H "Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg" \ httpsstorage.googleapis.com/my-static-assets?websiteConfig == Set up your load balancer and SSL certificate == Cloud Storage doesn't support custom domains with HTTPS on its own, so you also need to set up an SSL certificate attached to an HTTPS load balancer to serve your website through HTTPS. This section shows you how to add your bucket to a load balancer's backend and how to add a new Google-managed SSL certificate to the load balancer's front end. - Go to the Load balancing page in the Google Cloud console. Go to the Load balancing page - Under HTTP(S) load balancing, click Start configuration. - Select From Internet to my VMs or serverless services. - Select Global HTTP(S) Load Balancer. Click Continue. The configuration window for your load balancer appears. Before continuing with the configuration, give you load balancer aName, such as example-lb. Configure the backend - Click Backend configuration. - In the Backend services & backend bucketsdropdown, click Create a backend bucket. - Choose a Backend bucket name, such as example-bucket. The name you choose can be different from the name of the bucket you created earlier. - Click Browse, found in the Cloud Storage bucketfield. - Select the my-static-assetsbucket you created earlier, and click Select. - (Optional) If you want to use Cloud CDN, select the checkbox for Enable Cloud CDNand configure Cloud CDN as desired. Note that Cloud CDN may incur additional costs. - Click Create. Configure routing rules Routing rules are the components of a external HTTP(S) load balancer's URL map. For this tutorial, you should skip this portion of the load balancer configuration, because it is automatically set to use the backend you just configured. Configure the frontend This section shows you how to configure the HTTPS protocol and create an SSL certificate. You can also select an existing certificate or upload a self-managed SSL certificate. - Click Frontend configuration. - (Optional) Give your frontend configuration a Name. - For Protocol, select HTTPS (includes HTTP/2). - For Network Service Tier, select Premium. - For IP version, select IPv4. If you prefer IPv6, see IPv6 termination for additional information. For the IP addressfield: - In the dropdown, click Create IP address. - In the Reserve a new static IP addresspop-up, enter a name, such as example-ipfor the Nameof the IP address. - Click Reserve. ForPort, select 443. In the Certificatefield dropdown, select Create a new certificate. The certificate creation form appears in a panel. Configure the following: - Give your certificate a Name, such as example-ssl. - For Create mode, select Create Google-managed certificate. - For Domains, enter your website name, such as www.example.com. If you want to serve your content through additional domains such as the root domain example.com, press Enterto add them on additional lines. Each certificate has a limit of 100 domains. ClickCreate. ClickDone. Review the configuration - Click Review and finalize. - Review the Frontend, Routing rules, and Backend. - Click Create. You may need to wait a few minutes for the load balancer to be created. == Connect your domain to your load balancer == After the load balancer is created, click the name of your load balancer: example-lb. Note the IP address associated with the load balancer: for example, 30.90.80.100. To point your domain to your load balancer, create an A record using your domain registration service. If you added multiple domains to your SSL certificate, you must add an A record for each one, all pointing to the load balancer's IP address. For example, to create A records for www.example.com and example.com: NAME TYPE DATA www A 30.90.80.100 @ A 30.90.80.100 If you are using Google Domains, see the Google Domains Help page for more information. == Recommended: Monitor the SSL certificate status == It might take up to 60-90 minutes for Google Cloud to provision the certificate and make the site available through the load balancer. To monitor the status of your certificate: Console - Go to the Load balancing page in the Google Cloud console. Go to the Load balancing page - Click the name of your load balancer: example-lb. - Click the name of the SSL certificate associated with the load balancer: example-ssl. - The Statusand Domain statusrows show the certificate status. Both must be active in order for the certificate to be valid for your website. gcloud To check the certificate status, run the following command: gcloud beta compute ssl-certificates describeCERTIFICATE_NAME\ --global \ --format="get(name,managed.status)" To check the domain status, run the following command: gcloud beta compute ssl-certificates describeCERTIFICATE_NAME\ --global \ --format="get(managed.domainStatus)" See Troubleshooting SSL certificates for more information about certificate status. == Test the website == Once the SSL certificate is active, verify that content is served from the bucket by going to httpswww.example.com/test.html, where test.html is an object stored in the bucket that you're using as the backend. If you set the MainPageSuffix property, httpswww.example.com goes to index.html. == Clean up == After you finish the tutorial, you can clean up the resources that you created so that they stop using quota and incurring charges. The following sections describe how to delete or turn off these resources. Delete the project The easiest way to eliminate billing is to delete the project that you created for the tutorial. To delete the project: - In the Cloud console, go to the Manage resourcespage. - In the project list, select the project that you want to delete, and then click Delete. - In the dialog, type the project ID, and then clickdownto delete the project. Delete the load balancer and bucket If you don't want to delete the entire project, delete the load balancer and bucket that you created for the tutorial: - Go to the Load balancing page in the Google Cloud console. Go to the Load balancing page - Select the checkbox next to example-lb. - Click Delete. - (Optional) Select the checkbox next to the resources you want to delete along with the load balancer, such as the my-static-assetsbucket or the example-sslSSL certificate. - Click Delete load balanceror Delete load balancer and the selected resources. Release a reserved IP address To delete the reserved IP address you used for the tutorial: In the Cloud console, go to the External IP addressespage. Go to External IP addresses Select the checkboxes next to example-ip. ClickRelease static address. In the confirmation window, clickDelete. == What's next == - Learn how to serve your static website over HTTP. - See examples and tips for using buckets to host a static website. - Visit the troubleshooting section for hosting a static website. - Learn about hosting static assets for a dynamic website. - Learn about other Google Cloud web serving solutions. - Try other Google Cloud tutorials that use Cloud Storage. == Try it for yourself == If you're new to Google Cloud, create an account to evaluate how Cloud Storage performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.Try Cloud Storage free