');--success-svg-icon:url('data:image/svg+xml;utf8,');--info-svg-icon:url('data:image/svg+xml;utf8,');--chevron-svg-icon:url('data:image/svg+xml;utf8,');--checkbox-svg-icon:url('data:image/svg+xml;utf8,');--radiobutton-svg-icon:url('data:image/svg+xml;utf8,');--show-password-svg-icon:url('data:image/svg+xml;utf8,');--hide-password-svg-icon:url('data:image/svg+xml;utf8,');--error-svg-icon-color:var(--red-500);--success-svg-icon-color:var(--emerald-700);--info-svg-icon-color:var(--sky-500);--chevron-svg-icon-color:var(--grey-900);--checkbox-svg-icon-color:var(--grey-900);--radiobutton-svg-icon-color:var(--grey-900);--show-password-svg-icon-color:var(--grey-900);--hide-password-svg-icon-color:var(--grey-900);--bde-woo-notices__icon-size:16px;--bde-woo-notices__padding:24px;--bde-woo-notices__border-radius:4px;--bde-woo-notices__error-background:var(--red-50);--bde-woo-notices__error-text:var(--red-500);--bde-woo-notices__error-link-text:var(--red-500);--bde-woo-notices__error-link-text-hover:var(--red-500);--bde-woo-notices__info-background:var(--sky-100);--bde-woo-notices__info-text:var(--sky-500);--bde-woo-notices__info-link-text:var(--sky-500);--bde-woo-notices__info-link-text-hover:var(--sky-500);--bde-woo-notices__success-background:var(--emerald-100);--bde-woo-notices__success-text:var(--emerald-700);--bde-woo-notices__success-link-text:var(--emerald-700);--bde-woo-notices__success-link-text-hover:var(--emerald-700);--bde-woo-sale-badge__border-radius:2px;--bde-woo-sale-badge__padding:4px 8px;--bde-woo-ratings__star-color:var(--yellow-500);--bde-woo-ratings__star-size:18px;--bde-woo-ratings__filled-star-svg:url('data:image/svg+xml;utf8,');--bde-woo-ratings__empty-star-svg:url('data:image/svg+xml;utf8,');--bde-woo-product-images__border-radius:4px;--bde-woo-product-images__border-width:0px;--bde-woo-product-images__border-color:var(--grey-300);--bde-woo-wrappers__background-color:var(--white);--bde-woo-wrappers__border-radius:4px;--bde-woo-wrappers__border-color:var(--grey-300);--bde-woo-wrappers__border-width:1px;--bde-woo-wrappers__shadow:rgba(0,0,0,.05) 0 1px 3px,rgba(0,0,0,.05) 0 1px 2px;--bde-woo-tables__header-color:var(--grey-100);--bde-woo-tables__background-color:var(--white);--bde-woo-tables__border-radius:4px;--bde-woo-tables__border-width:1px;--bde-woo-widgets__chip-background-color:transparent;--bde-woo-widgets__chip-background-color-hover:var(--indigo-50);--bde-woo-widgets__chip-text-color:inherit;--bde-woo-widgets__handle-border-color:var(--grey-300);--bde-woo-widgets__handle-background-color:var(--white);--bde-woo-widgets__handle-background-color-hover:var(--white);--bde-woo-widgets__handle-shadow:rgba(0,0,0,.05) 0 1px 3px,rgba(0,0,0,.05) 0 1px 2px;--bde-woo-widgets__handle-shadow-hover:var(--grey-300) 0 0 4px;--bde-woo-widgets__remove-item-from-cart-color:var(--grey-450);--bde-woo-select2__active-item-background-color:var(--indigo-50);--bde-woo-gallery__zoom-icon-shadow:rgba(0,0,0,.05) 0 1px 3px,rgba(0,0,0,.05) 0 1px 2px;--bde-woo-payment-box-background-color:var(--grey-100);--bde-woo-payment-box-border-color:var(--grey-200);--bde-woo-payment-box-border-width:1px;--bde-woo-quicklook-button-icon:url(/wp-content/uploads/breakdance/css/icons/eye.svg);--bde-woo-quicklook-button-background-color:none;--bde-woo-quicklook-button-icon-size:20px;--bde-woo-quicklook-button-backdrop-color:rgba(0,0,0,.15);--bde-woo-quicklook-button-backdrop-opacity:.7;--bde-woo-quicklook-modal-background-color:var(--white);--bde-woo-quicklook-overlay-color:rgba(0,0,0,.7);--bde-woo-quicklook-close-button-size:2em;--bde-woo-quicklook-arrow-size:1em;--bde-woo-quicklook-arrow-color:var(--white);--bde-woo-swatch-space-between-options:10px;--bde-woo-swatch-padding:7px;--bde-woo-swatch-color-width:30px;--bde-woo-swatch-color-height:30px;--bde-woo-swatch-border:1px solid var(--grey-200);--bde-woo-swatch-border-color-hover:var(--grey-400);--bde-woo-swatch-shadow:none;--bde-woo-swatch-shadow-hover:none;--bde-woo-swatch-background:var(--white);--bde-woo-swatch-background-hover:var(--grey-50);--bde-woo-swatch-color-padding:2px;--bde-woo-swatch-tooltip-color:var(--white);--bde-woo-swatch-tooltip-background:var(--grey-900);--bde-woo-swatch-tooltip-padding:7px;--bde-woo-swatch-space-after-label:8px;--bde-woo-responsive__stack:row;--bde-links-color:#d61f2c;--bde-links-color-hover:#d61f2c;--bde-button-primary-background-color:var(--bde-brand-primary-color);--bde-button-primary-background-color-hover:var(--bde-brand-primary-color-hover);--bde-button-secondary-border-color:var(--bde-brand-primary-color);--bde-button-secondary-border-color-hover:var(--bde-brand-primary-color);--bde-button-secondary-text-color:var(--bde-brand-primary-color);--bde-button-secondary-background-color-hover:var(--bde-brand-primary-color);--bde-button-text-text-color:var(--bde-links-color);--bde-button-text-text-color-hover:var(--bde-links-color-hover);--bde-button-font-size:var(--bde-body-font-size);--bde-form-font-size:var(--bde-body-font-size);--bde-form-input-border-top-left-radius:var(--bde-form-input-border-radius);--bde-form-input-border-top-right-radius:var(--bde-form-input-border-radius);--bde-form-input-border-bottom-left-radius:var(--bde-form-input-border-radius);--bde-form-input-border-bottom-right-radius:var(--bde-form-input-border-radius);--bde-form-input-border-top:var(--bde-form-input-border-width) solid var(--bde-form-input-border-color);--bde-form-input-border-right:var(--bde-form-input-border-width) solid var(--bde-form-input-border-color);--bde-form-input-border-bottom:var(--bde-form-input-border-width) solid var(--bde-form-input-border-color);--bde-form-input-border-left:var(--bde-form-input-border-width) solid var(--bde-form-input-border-color);--bde-form-label-color:var(--bde-headings-color);--bde-form-input-focused-border-color:var(--bde-brand-primary-color);--bde-form-input-focused-shadow:var(--bde-brand-primary-color) 0 0 2px;--bde-form-checkbox-selected-color:var(--bde-brand-primary-color);--bde-z-index-lightbox:1100;--bde-z-index-popup:1050;--bde-z-index-modal:1000;--bde-z-index-modal-backdrop:calc(var(--bde-z-index-modal) - 1);--bde-z-index-high:300;--bde-z-index-medium:200;--bde-z-index-low:100;--bde-z-index-sticky:10;--bde-z-index-minicart:var(--bde-z-index-modal);--bde-z-index-minicart-backdrop:var(--bde-z-index-modal-backdrop);--bde-z-index-menu-dropdown:var(--bde-z-index-modal);--bde-z-index-menu-mobile:var(--bde-z-index-modal);--bde-z-index-menu-backdrop:var(--bde-z-index-modal-backdrop);--bde-z-index-search-fullscreen:var(--bde-z-index-modal);--bde-z-index-back-to-top:var(--bde-z-index-high);--bde-z-index-scroll-progress:var(--bde-z-index-high);--bde-z-index-header-sticky:var(--bde-z-index-medium);--bde-z-index-header-overlay:calc(var(--bde-z-index-header-sticky) - 1);--bde-z-index-social-share-buttons:var(--bde-z-index-low);--bde-woo-base-transition:all ease var(--bde-transition-duration);--bde-woo-base-text-color:var(--bde-body-text-color);--bde-woo-base-headings-color:var(--bde-headings-color);--bde-woo-base-primary-color:var(--bde-brand-primary-color);--bde-woo-base-primary-color-hover:var(--bde-brand-primary-color-hover);--bde-woo-base-extra-small-gaps:calc(var(--bde-woo-base-small-gaps)/var(--bde-woo-base-ratio));--bde-woo-base-small-gaps:calc(var(--bde-woo-base-space)/var(--bde-woo-base-ratio));--bde-woo-base-standard-gaps:var(--bde-woo-base-space);--bde-woo-base-medium-gaps:calc(var(--bde-woo-base-space)*var(--bde-woo-base-ratio));--bde-woo-base-big-gaps:calc(var(--bde-woo-base-medium-gaps)*var(--bde-woo-base-ratio));--bde-woo-base-large-gaps:calc(var(--bde-woo-base-big-gaps)*var(--bde-woo-base-ratio));--bde-woo-base-extra-large-gaps:calc(var(--bde-woo-base-large-gaps)*var(--bde-woo-base-ratio));--bde-woo-typography-ratio:var(--bde-font-size-ratio);--bde-woo-typography__size-small:calc(var(--bde-woo-typography__size-standard)/var(--bde-woo-typography-ratio));--bde-woo-typography__size-small-font-family:var(--bde-body-font-family);--bde-woo-typography__size-standard:var(--bde-body-font-size);--bde-woo-typography__size-standard-font-family:var(--bde-body-font-family);--bde-woo-typography__size-medium:calc(var(--bde-woo-typography__size-standard)*var(--bde-woo-typography-ratio));--bde-woo-typography__size-medium-font-family:var(--bde-heading-font-family);--bde-woo-typography__size-large:calc(var(--bde-woo-typography__size-medium)*var(--bde-woo-typography-ratio));--bde-woo-typography__size-large-font-family:var(--bde-heading-font-family);--bde-woo-typography__size-extra-large:calc(var(--bde-woo-typography__size-large)*var(--bde-woo-typography-ratio));--bde-woo-typography__size-extra-large-font-family:var(--bde-heading-font-family);--bde-woo-buttons-and-links__text-link-color:#d61f2c;--bde-woo-buttons-and-links__text-link-color-hover:#d61f2c;--bde-woo-buttons-and-links__nav-link-color:var(--bde-woo-base-text-color);--bde-woo-buttons-and-links__nav-link-color-hover:var(--bde-woo-base-text-on-primary-color);--bde-woo-buttons-and-links__nav-link-color-active:var(--bde-woo-base-primary-color);--bde-woo-forms__spacing-after-label:var(--bde-form-after-label);--bde-woo-forms__spacing-between-fields:var(--bde-form-gap);--bde-woo-forms__spacing-between-columns:var(--bde-woo-base-extra-large-gaps);--bde-woo-forms__labels-color:var(--bde-form-label-color);--bde-woo-forms__inputs-background-color:var(--bde-form-input-background-color);--bde-woo-forms__inputs-text-color:var(--bde-form-text-color);--bde-woo-forms__inputs-placeholder-color:var(--bde-form-input-placeholder-color);--bde-woo-forms__inputs-border-color:var(--bde-form-input-border-color);--bde-woo-forms__inputs-border-width:var(--bde-form-input-border-width);--bde-woo-forms__inputs-border-radius:var(--bde-form-input-border-top-left-radius) var(--bde-form-input-border-top-right-radius) var(--bde-form-input-border-bottom-right-radius) var(--bde-form-input-border-bottom-left-radius);--bde-woo-forms__inputs-background-color-focused:var(--bde-form-input-focused-background-color);--bde-woo-forms__inputs-border-color-focused:var(--bde-form-input-focused-border-color);--bde-woo-forms__inputs-shadow-focused:var(--bde-form-input-focused-shadow);--bde-woo-forms__inputs-shadow:var(--bde-form-input-input-shadow);--bde-woo-forms__inputs-select2-hover-item:var(--bde-woo-base-primary-color);--bde-woo-forms__labels-required-color:var(--bde-form-label-required-color);--bde-woo-forms__labels-required-size:var(--bde-form-label-required-size);--bde-woo-forms__labels-required-nudge-x:var(--bde-form-label-required-nudge-x);--bde-woo-forms__labels-required-nudge-y:var(--bde-form-label-required-nudge-y);--bde-woo-tables__border-color:var(--bde-woo-base-border-color);--bde-woo-sale-badge__background-color:var(--bde-woo-base-primary-color);--bde-woo-sale-badge__text-color:var(--bde-woo-base-text-on-primary-color);--bde-woo-sale-badge__font-weight:var(--bde-woo-typography-font-weight-heavy);--bde-woo-sale-badge__font-size:var(--bde-woo-typography__size-standard);--bde-woo-widgets__chip-text-color-hover:var(--bde-woo-buttons-and-links__text-link-color);--bde-woo-widgets__handle-border-color-hover:var(--bde-woo-base-primary-color);--bde-woo-notices__padding-left:calc(var(--bde-woo-notices__padding) + var(--bde-woo-notices__icon-size) + (var(--bde-woo-notices__icon-size)/2));--bde-woo-quicklook-button-text-color:var(--bde-button-primary-text-color);--bde-woo-quicklook-button-background-color-hover:var(--bde-woo-quicklook-button-background-color);--bde-woo-quicklook-button-icon-spacing:var(--bde-woo-base-standard-gaps);--bde-woo-quicklook-close-button-color:var(--bde-woo-base-headings-color);--bde-woo-quicklook-arrow-color-hover:var(--bde-woo-quicklook-arrow-color);--bde-woo-quicklook-arrow-background-color:var(--bde-brand-primary-color);--bde-woo-quicklook-arrow-background-color-hover:var(--bde-woo-quicklook-arrow-background-color);--bde-woo-swatch-space-between-items:var(--bde-woo-base-medium-gaps);--bde-woo-swatch-background-selected:var(--bde-woo-swatch-background-hover);--bde-woo-swatch-border-color-selected:var(--bde-woo-swatch-border-color-hover);--bde-woo-swatch-shadow-selected:var(--bde-woo-swatch-shadow-hover);--bde-woo-swatch-color-background:var(--bde-woo-swatch-background)}.breakdance-icon-atom{display:flex;font-size:40px}.breakdance-icon-atom>svg:not(.breakdance-icon-atom-svg-gradient){font-size:inherit;width:1em;height:1em;stroke-width:0;stroke:var(--bde-brand-primary-color);fill:var(--bde-brand-primary-color);transform:var(--eeiTransform)}.breakdance *,.breakdance :after,.breakdance :before{box-sizing:border-box}.breakdance img{max-width:100%;height:auto}.breakdance figure{margin-left:0;margin-right:0}.breakdance{background-color:var(--bde-background-color);color:var(--bde-body-text-color);font-family:var(--bde-body-font-family);font-size:var(--bde-body-font-size);color:#0c163d;font-family:"DM Sans",sans-serif;font-size:18px;font-weight:400;line-height:28px}.breakdance h1,.breakdance h2,.breakdance h3{font-family:var(--bde-heading-font-family);font-size:var(--bde-h1-font-size);color:var(--bde-brand-primary-color);font-size:clamp(1.2rem,1.25rem + 2vw,2.35rem);font-weight:600;line-height:1.3}.breakdance h2,.breakdance h3{color:var(--bde-headings-color);font-size:var(--bde-h2-font-size);font-size:clamp(.5rem,.9rem + .8vw,1.875rem)}.breakdance a{color:var(--bde-links-color);text-decoration:none;text-decoration-thickness:2px;text-decoration-style:none;text-decoration-color:var(--bde-links-color)}.breakdance a:hover{color:var(--bde-links-color-hover);text-decoration-thickness:2px;text-decoration-line:underline;text-decoration-style:solid}.breakdance h3{font-size:var(--bde-h3-font-size);font-size:clamp(.5rem,.9rem + .8vw,1.25rem)}:root{--bde-section-vertical-padding:60px}@media (max-width:479px){.breakdance h2{font-size:24px}.breakdance h3{font-weight:600}}.breakdance .bde-section-42631-108 .section-container{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}.breakdance .bde-section-42631-108{background-color:var(--bde-palette-color-1-1169274a-8713-4b28-8077-f42d9212950f)}.breakdance .bde-heading-42631-175{margin-bottom:0}.breakdance .bde-section-42631-150 .section-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left}.breakdance .bde-section-42631-150{background-color:var(--bde-palette-color-1-1169274a-8713-4b28-8077-f42d9212950f)}.breakdance .bde-columns-42631-159{--columnCount:2}.breakdance .bde-columns-42631-159>div{padding:16px}@media (max-width:1119px){.breakdance .bde-columns-42631-159{--columnCount:2}.breakdance .bde-columns-42631-159.bde-columns{flex-direction:column;flex-wrap:nowrap}.breakdance .bde-columns-42631-159.bde-columns>.bde-column{width:100%}.breakdance .bde-columns-42631-159>div:nth-child(1){order:10}.breakdance .bde-columns-42631-159>div:nth-child(2){order:9}}@media (max-width:1023px){.breakdance .bde-columns-42631-159{--columnCount:2}}@media (max-width:767px){.breakdance .bde-columns-42631-159{--columnCount:2}}@media (max-width:479px){.breakdance .bde-columns-42631-159{--columnCount:2}}.breakdance .bde-column-42631-161{--column-width:75%;display:flex;flex-direction:column;gap:24px;background-color:var(--bde-background-color)}.breakdance .bde-text-42631-163{margin-top:0}.breakdance .bde-div-42631-194{padding:12px;border-bottom:2px solid var(--bde-brand-primary-color);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:flex-start;gap:16px}.breakdance .bde-image-42631-195{width:400px}.breakdance .bde-image-42631-195 .breakdance-image-object{width:100%;height:auto;filter:grayscale()}.breakdance .bde-image-42631-195 .breakdance-image__caption{text-align:center;color:var(--bde-background-color);font-weight:600;background:var(--bde-links-color);padding:4px}.breakdance .bde-column-42631-162{--column-width:25%;display:flex;flex-direction:column;align-items:flex-start;gap:32px;text-align:left;background-color:var(--bde-background-color)}.breakdance .bde-social-share-buttons-42631-166{justify-content:flex-start;--shbtn-icon-size:20px;--shbtn-padding:0px}.breakdance .bde-social-share-buttons-42631-166 .bde-social-share-button-icon{padding-inline-end:var(--shbtn-padding)}.breakdance .bde-social-share-buttons-42631-166 .bde-social-share-button{background-color:var(--bde-background-color);border-color:var(--bde-background-color)}.breakdance .bde-social-share-buttons-42631-166 .bde-social-share-button-icon{color:var(--bde-headings-color)}@media (max-width:1119px){.breakdance .bde-social-share-buttons-42631-166{justify-content:flex-start}}@media (max-width:1023px){.breakdance .bde-social-share-buttons-42631-166{justify-content:flex-start}}@media (max-width:767px){.breakdance .bde-social-share-buttons-42631-166{justify-content:flex-start}}@media (max-width:479px){.breakdance .bde-social-share-buttons-42631-166{justify-content:flex-start}}.breakdance .bde-post-meta-42631-172{background-color:#ffeef0;color:var(--bde-links-color);font-weight:600;letter-spacing:.5px;padding:6px 12px;border-radius:6px}.breakdance .bde-table-of-contents-42631-201 .bde-table-of-contents__header,.breakdance .bde-table-of-contents-42631-201 .bde-table-of-contents__wrapper{background-color:#f7f7f7}.breakdance .bde-table-of-contents-42631-201 .bde-table-of-contents__list{padding-top:0}.breakdance .bde-table-of-contents-42631-201 .toc-list .is-active-li::marker{font-weight:600;color:var(--bde-links-color)}.breakdance .bde-section-42631-182 .section-container{align-items:center;text-align:center;justify-content:center}.breakdance .bde-section-42631-182{background-color:#f3f3f3}@media (max-width:1119px){.breakdance .bde-section-42631-182 .section-container{padding-bottom:60px;padding-top:60px}}@media (max-width:1023px){.breakdance .bde-section-42631-182 .section-container{padding-bottom:60px;padding-top:40px}}@media (max-width:767px){.breakdance .bde-section-42631-182 .section-container{padding-bottom:60px;padding-top:20px}}@media (max-width:479px){.breakdance .bde-section-42631-182 .section-container{padding-bottom:80px;padding-top:20px}}.breakdance .bde-heading-42631-183{color:#000;margin-bottom:48px}.breakdance .bde-post-list-42631-184>.ee-posts{--bde-posts-gap:16px;--bde-posts-per-row:3}.breakdance .bde-post-list-42631-184 .ee-post{background-color:var(--bde-background-color);border-radius:12px;box-shadow:0 0 4px 0#00000025;padding:20px;flex-direction:column;gap:16px;align-items:flex-start}.breakdance .bde-post-list-42631-184 .ee-post-wrap{align-items:flex-start}.breakdance .bde-post-list-42631-184 .ee-post-meta-item:not(:last-child):after{content:"•";color:#00386b;margin:0 8px}.breakdance .bde-post-list-42631-184 .ee-post-title{margin-bottom:16px;text-align:left}.breakdance .bde-post-list-42631-184 .ee-post-title a{font-size:20px}.breakdance .bde-post-list-42631-184 .ee-post-image img{border-radius:6px}.breakdance .bde-post-list-42631-184 .ee-post-meta{margin-bottom:12px;justify-content:flex-start}.breakdance .bde-post-list-42631-184 .ee-post-meta-item{color:var(--bde-brand-primary-color);font-size:18px;font-weight:600}@media (max-width:1119px){.breakdance .bde-post-list-42631-184>.ee-posts{--bde-posts-per-row:3}}@media (max-width:1023px){.breakdance .bde-post-list-42631-184>.ee-posts{--bde-posts-per-row:2}}@media (max-width:767px){.breakdance .bde-post-list-42631-184>.ee-posts{--bde-posts-per-row:1}.breakdance .bde-post-list-42631-184{flex-direction:column;align-items:unset}}@media (max-width:479px){.breakdance .bde-post-list-42631-184>.ee-posts{--bde-posts-per-row:1}}.breakdance .bde-section-41845-383 .section-container{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;gap:20px;padding-bottom:10px;padding-top:10px}.breakdance .bde-section-41845-383{background-color:var(--bde-headings-color);box-shadow:0 12px 25px 0#00000025}@media (max-width:767px){.breakdance .bde-section-41845-383 .section-container{justify-content:space-between;align-items:center}}@media (max-width:479px){.breakdance .bde-section-41845-383 .section-container{justify-content:space-around;gap:6px;padding-left:0;padding-right:0}}.breakdance .bde-div-41845-384{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;gap:32px}@media (max-width:767px){.breakdance .bde-div-41845-384{justify-content:center;align-items:flex-start;gap:4px}}@media (max-width:479px){.breakdance .bde-div-41845-384{justify-content:center;align-items:flex-start;gap:6px}}.breakdance .bde-icon-list-41845-416 li .bde-icon-list__icon{font-size:24px;color:var(--bde-background-color)}.breakdance .bde-icon-list-41845-416 li .bde-icon-list__text{color:var(--bde-background-color);font-weight:600}.breakdance .bde-icon-list-41845-414 li:hover .bde-icon-list__text,.breakdance .bde-icon-list-41845-415 li:hover .bde-icon-list__text,.breakdance .bde-icon-list-41845-416 li:hover .bde-icon-list__text,.breakdance .bde-icon-list-41845-417 li:hover .bde-icon-list__text{color:#fff}@media (max-width:767px){.breakdance .bde-icon-list-41845-416 li .bde-icon-list__icon{font-size:24px}.breakdance .bde-icon-list-41845-416 li .bde-icon-list__text{font-size:0}}@media (max-width:479px){.breakdance .bde-icon-list-41845-416 li .bde-icon-list__text{font-weight:600}}.breakdance .bde-icon-list-41845-417 li .bde-icon-list__icon{font-size:24px;color:var(--bde-background-color)}.breakdance .bde-icon-list-41845-417 li .bde-icon-list__text{color:var(--bde-background-color);font-weight:600}@media (max-width:767px){.breakdance .bde-icon-list-41845-417 li .bde-icon-list__icon{font-size:24px}.breakdance .bde-icon-list-41845-417 li .bde-icon-list__text{font-size:0}}@media (max-width:479px){.breakdance .bde-icon-list-41845-417 li .bde-icon-list__text{font-weight:600}}.breakdance .bde-div-41845-391{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;gap:16px}@media (max-width:767px){.breakdance .bde-div-41845-391{align-items:flex-start;gap:12px}}@media (max-width:479px){.breakdance .bde-div-41845-391{gap:12px}}.breakdance .bde-icon-list-41845-414 li .bde-icon-list__icon{font-size:24px;color:var(--bde-background-color)}.breakdance .bde-icon-list-41845-414 li .bde-icon-list__text{color:var(--bde-background-color);font-weight:600}@media (max-width:767px){.breakdance .bde-icon-list-41845-414 li .bde-icon-list__icon{font-size:24px}.breakdance .bde-icon-list-41845-414 li .bde-icon-list__text{font-size:12px}}@media (max-width:479px){.breakdance .bde-icon-list-41845-414 li .bde-icon-list__text{font-weight:600}}.breakdance .bde-icon-list-41845-415 li .bde-icon-list__icon{font-size:24px;color:var(--bde-background-color)}.breakdance .bde-icon-list-41845-415 li .bde-icon-list__text{color:var(--bde-background-color);font-weight:600}@media (max-width:767px){.breakdance .bde-icon-list-41845-415 li .bde-icon-list__icon{font-size:24px}.breakdance .bde-icon-list-41845-415 li .bde-icon-list__text{font-size:12px}}@media (max-width:479px){.breakdance .bde-icon-list-41845-415 li .bde-icon-list__text{font-weight:600}}.breakdance .bde-header-builder-41845-398{background:var(--bde-background-color);box-shadow:0 1px 1px 0#00000025}.breakdance .bde-header-builder-41845-398 .bde-header-builder__container{padding-bottom:6px;padding-top:6px}@media (max-width:1023px){.breakdance .bde-header-builder-41845-398 .bde-header-builder__container{padding-left:20px;padding-right:20px}}.breakdance .bde-image-41845-399{width:230px}.breakdance .bde-image-41845-399 .breakdance-image-object{width:100%;height:auto}@media (max-width:1119px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-background:#fff;--menu-hide-on-mobile:none;--toggle-layer-color:#000;--mobile-offcanvas-x:100%;--mobile-topbar-close-button-color:var(--bde-links-color);--link-border:none}}@media (min-width:1120px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-duration:.5s;--menu-hide-on-desktop:none;--links-gap:12px;--link-color:var(--bde-headings-color);--link-color-hover:var(--bde-brand-primary-color);--link-padding-top:12px;--link-padding-right:12px;--link-padding-bottom:12px;--link-padding-left:12px;--link-effect-color:var(--bde-brand-primary-color);--link-effect-color-hover:var(--bde-brand-primary-color);--link-effect-thickness:2px;--link-arrow-color-hover:var(--bde-brand-primary-color);--dropdown-custom-offset-y:6.2px}.breakdance .bde-menu-41845-400 .breakdance-menu-link{color:var(--bde-headings-color);text-transform:capitalize}.breakdance .bde-menu-41845-400 .breakdance-menu-item:hover .breakdance-menu-link{color:var(--bde-brand-primary-color)}}@media (max-width:1119px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-mobile:none;--mobile-topbar-logo-width:200px;--link-color:#000}.breakdance .bde-menu-41845-400 .breakdance-menu-link{color:#000;font-size:18px}.breakdance .bde-menu-41845-400 .breakdance-menu{--links-gap:0;--dropdown-link-icon-display:none;--dropdown-link-description-display:none;--dropdown-links-gap:var(--gap-none)}.breakdance .bde-menu-41845-400 .breakdance-menu-list{align-items:stretch;background-color:var(--menu-background);display:none;flex-direction:column;left:var(--mobile-offset-x);max-height:var(--menu-max-height);overflow-y:auto;position:absolute;top:var(--mobile-offset-y,100%);width:calc(100vw - var(--menu-scrollbar-width,0px));z-index:var(--bde-z-index-menu-mobile)}.breakdance .bde-menu-41845-400 .breakdance-menu-list>:last-child{border-bottom:var(--link-border)}.breakdance .bde-menu-41845-400 .breakdance-menu .breakdance-menu-link{border-top:var(--link-border);outline-offset:-1px;padding:var(--mobile-link-padding-top) var(--mobile-link-padding-right) var(--mobile-link-padding-bottom) var(--mobile-link-padding-left)}.breakdance .bde-menu-41845-400 .breakdance-menu-link-arrow{border-top:var(--link-border);bottom:0;position:absolute;right:0;top:0}.breakdance .bde-menu-41845-400 .breakdance-dropdown-floater{transform:none;visibility:visible}.breakdance .bde-menu-41845-400 .breakdance-dropdown-body{background-color:var(--link-background-color);border-radius:0;border-top:var(--link-border);box-shadow:none;flex-direction:column}.breakdance .bde-menu-41845-400 .breakdance-dropdown--custom .breakdance-dropdown-floater{width:auto}.breakdance .bde-menu-41845-400 .breakdance-dropdown-section{--dropdown-section-padding:0;--dropdown-section-gap:var(--gap-none)}.breakdance .bde-menu-41845-400 .breakdance-dropdown-columns{--dropdown-columns-stack:column;--dropdown-columns-gap:var(--gap-none)}.breakdance .bde-menu-41845-400 .breakdance-dropdown-column+.breakdance-dropdown-column{border-top:var(--link-border)}.breakdance .bde-menu-41845-400 .breakdance-dropdown-column,.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible{gap:var(--gap-none)}.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible .breakdance-dropdown-item:first-child,.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible:not(:first-child){border-top:var(--link-border)}.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible .breakdance-dropdown-column__title{cursor:pointer;outline-offset:-1px}.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible .breakdance-dropdown-links:not(.is-visible):not(.is-collapsing){height:0;overflow:hidden;pointer-events:none;visibility:hidden}.breakdance .bde-menu-41845-400 .breakdance-dropdown-column__title{font-weight:500;justify-content:var(--link-alignment);padding:var(--mobile-link-level-2-padding-top) var(--mobile-link-level-2-padding-right) var(--mobile-link-level-2-padding-bottom) var(--mobile-link-level-2-padding-left);white-space:normal}.breakdance .bde-menu-41845-400 .breakdance-menu--collapse .breakdance-dropdown-column--collapsible .breakdance-dropdown-column__title:after{display:block}.breakdance .bde-menu-41845-400 .breakdance-dropdown-item+.breakdance-dropdown-item{border-top:var(--link-border)}.breakdance .bde-menu-41845-400 .breakdance-menu .breakdance-dropdown-link{justify-content:var(--link-alignment);outline-offset:-1px;padding:var(--mobile-link-level-3-padding-top) var(--mobile-link-level-3-padding-right) var(--mobile-link-level-3-padding-bottom) var(--mobile-link-level-3-padding-left);white-space:normal}.breakdance .bde-menu-41845-400 .breakdance-menu-topbar{align-items:center;display:flex}.breakdance .bde-menu-41845-400 .breakdance-menu-toggle{display:flex}@media (min-width:1120px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-desktop:none}}}@media (max-width:1023px){@media (max-width:1119px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-mobile:none;--mobile-topbar-logo-width:200px;--link-color:#000}.breakdance .bde-menu-41845-400 .breakdance-menu-link{color:#000;font-size:18px;font-weight:500}}@media (min-width:1120px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-desktop:none}}}@media (max-width:767px){@media (max-width:1119px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-mobile:none;--mobile-topbar-logo-width:200px}}@media (min-width:1120px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-desktop:none}}}@media (max-width:479px){@media (max-width:1119px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-mobile:none;--mobile-topbar-logo-width:230px}}@media (min-width:1120px){.breakdance .bde-menu-41845-400 .breakdance-menu{--menu-hide-on-desktop:none}}}@media (min-width:1120px){.breakdance .bde-menu-dropdown-41845-401 .breakdance-dropdown{--dropdown-section-padding:12px}.breakdance .bde-menu-dropdown-41845-401 .breakdance-dropdown-body{border-radius:12px;box-shadow:0 0 12px 0#00000025}.breakdance .bde-menu-dropdown-41845-401 .breakdance-dropdown .breakdance-dropdown-column__title,.breakdance .bde-menu-dropdown-41845-402 .breakdance-dropdown .breakdance-dropdown-column__title{font-weight:600}.breakdance .bde-menu-dropdown-41845-401 .breakdance-dropdown{--dropdown-links-gap:8px}.breakdance .bde-menu-dropdown-41845-402 .breakdance-dropdown{--dropdown-section-padding:12px}.breakdance .bde-menu-dropdown-41845-402 .breakdance-dropdown-body{border-radius:12px;box-shadow:0 0 12px 0#00000025}.breakdance .bde-menu-dropdown-41845-402 .breakdance-dropdown{--dropdown-links-gap:8px}.breakdance .bde-menu-dropdown-41845-403 .breakdance-dropdown{--dropdown-custom-width:200px;--dropdown-sections-stack:row;--dropdown-section-padding:16px}.breakdance .bde-menu-dropdown-41845-403 .breakdance-dropdown-body{border-radius:12px;box-shadow:0 0 12px 0#00000025}.breakdance .bde-menu-dropdown-41845-404 .breakdance-dropdown{--dropdown-custom-width:200px;--dropdown-sections-stack:row;--dropdown-section-padding:16px}.breakdance .bde-menu-dropdown-41845-404 .breakdance-dropdown-body{border-radius:12px;box-shadow:0 0 12px 0#00000025}.breakdance .bde-menu-dropdown-41845-405 .breakdance-dropdown{--dropdown-custom-width:200px;--dropdown-sections-stack:row;--dropdown-section-padding:16px}.breakdance .bde-menu-dropdown-41845-405 .breakdance-dropdown-body{border-radius:12px;box-shadow:0 0 12px 0#00000025}}.breakdance .bde-section-41847-100 .section-container{display:flex;flex-direction:column;padding-bottom:60px;padding-top:60px}.breakdance .bde-section-41847-100{background-color:var(--bde-brand-primary-color)}@media (max-width:1023px){.breakdance .bde-section-41847-100 .section-container{gap:16px}}.breakdance .bde-image-41847-104{width:230px}.breakdance .bde-image-41847-104 .breakdance-image-object{width:100%;height:auto}.breakdance .bde-grid-41847-101{--bde-grid-items-per-row:3}.breakdance .bde-grid>*{width:auto!important;height:auto!important}@media (max-width:1119px){.breakdance .bde-grid-41847-101{--bde-grid-items-per-row:3}}@media (max-width:1023px){.breakdance .bde-grid-41847-101{--bde-grid-items-per-row:2}}@media (max-width:767px){.breakdance .bde-grid-41847-101{--bde-grid-items-per-row:1}}.breakdance .bde-div-41847-102{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left}@media (max-width:1023px){.breakdance .bde-div-41847-102{padding-left:16px}}@media (max-width:767px){.breakdance .bde-div-41847-102{padding-left:16px}}@media (max-width:479px){.breakdance .bde-div-41847-102{padding-left:16px}}.breakdance .bde-text-41847-105{color:var(--bde-background-color);font-size:16px}@media (max-width:767px){.breakdance .bde-text-41847-105{font-size:15px}}.breakdance .bde-social-icons-41847-106{flex-direction:row}.breakdance .bde-social-icons-41847-106 .bde-social-icons__icon-wrapper{border-radius:100%;background-color:var(--bde-background-color);padding:12px;opacity:1}.breakdance .bde-social-icons-41847-106 .bde-social-icons__icon-wrapper:hover{background-color:#efefef;transform:scale(1.1);opacity:.8}.breakdance .bde-social-icons-41847-106 .bde-social-icons__icon-wrapper svg{width:16px;height:16px;fill:var(--bde-brand-primary-color)}.breakdance .bde-div-41847-107{display:flex;flex-direction:column;gap:6px}.breakdance .bde-text-41847-137{color:var(--bde-background-color);font-weight:600}.breakdance .bde-wp-menu-41847-135{width:100%}.breakdance .bde-wp-menu-41847-135 .breakdance-menu{--link-alignment:flex-start;--menu-hide-on-desktop:none;--link-color:var(--bde-background-color);--link-padding-top:10px;--link-padding-bottom:10px}.breakdance .bde-wp-menu-41847-135 .breakdance-menu-link{color:var(--bde-background-color)}@media (max-width:1119px){.breakdance .bde-wp-menu-41847-135 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:1023px){.breakdance .bde-wp-menu-41847-135 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:767px){.breakdance .bde-wp-menu-41847-135 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:479px){.breakdance .bde-wp-menu-41847-135 .breakdance-menu{--menu-hide-on-desktop:none}}.breakdance .bde-div-41847-119{display:flex;flex-direction:column;gap:6px}.breakdance .bde-text-41847-138{color:var(--bde-background-color);font-weight:600}.breakdance .bde-div-41847-131,.breakdance .bde-wp-menu-41847-136{width:100%}.breakdance .bde-wp-menu-41847-136 .breakdance-menu{--link-alignment:flex-start;--menu-hide-on-desktop:none;--link-color:var(--bde-background-color);--link-padding-top:10px;--link-padding-bottom:10px}.breakdance .bde-wp-menu-41847-136 .breakdance-menu-link{color:var(--bde-background-color)}@media (max-width:1119px){.breakdance .bde-wp-menu-41847-136 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:1023px){.breakdance .bde-wp-menu-41847-136 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:767px){.breakdance .bde-wp-menu-41847-136 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:479px){.breakdance .bde-wp-menu-41847-136 .breakdance-menu{--menu-hide-on-desktop:none}}.breakdance .bde-div-41847-131{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center}@media (max-width:767px){.breakdance .bde-div-41847-131{flex-direction:column;flex-wrap:nowrap;justify-content:flex-start}}.breakdance .bde-text-41847-132{color:var(--bde-background-color)}@media (max-width:767px){.breakdance .bde-text-41847-132{font-size:15px}}.breakdance .bde-wp-menu-41847-133 .breakdance-menu{--menu-hide-on-desktop:none;--link-color:var(--bde-background-color)}.breakdance .bde-wp-menu-41847-133 .breakdance-menu-link{color:var(--bde-background-color)}@media (max-width:1119px){.breakdance .bde-wp-menu-41847-133 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:1023px){.breakdance .bde-wp-menu-41847-133 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:767px){.breakdance .bde-wp-menu-41847-133 .breakdance-menu{--menu-hide-on-desktop:none}}@media (max-width:479px){.breakdance .bde-wp-menu-41847-133 .breakdance-menu{--menu-hide-on-desktop:none}}
Modify AWS EC2 Instance !!!
EC2 stands for Elastic Compute Cloud Server. It is the compute service offering from the IaaS (Infrastructure as a Service) area of AWS.
Once an EC2 instance is provisioned, it is very handy to update/modify many of the instances configuration parameters using AWS Management Console.
Let’s look at each of them.
In this tutorial, you will learn-
Login and access to AWS services
Checking the modification parameters
Viewing the connection details
Launching multiple instances with the similar configuration
Changing the instance state
Changing instance settings
Creating tags
Attaching to Auto Scaling Group
Changing instance type
Enabling termination protection
Changing User Data
Changing the shutdown behavior
Viewing System Log
Creating an instance AMI
Changing the instance network settings
Changing the Security Group
Adding a Network Interface
Dissociating EIP
Changing Source/Destination check
Managing private IP addresses
Enabling/disabling ClassicLink to a VPC
Enabling detailed CloudWatch monitoring
Login and access to AWS services
Step 1) In this step, you will do
Login to your AWS account and go to the AWS Services tab at the top left corner.
Here, you will see all of the AWS Services categorized as per their area viz. Compute, Storage, Database, etc. For creating an EC2 instance, we have to choose Computeà EC2 as in the next step.
Open all the services and click on EC2 under Compute services. This will launch the dashboard of EC2.
Here is the EC2 dashboard. Here you will get all the information in gist about the AWS EC2 resources running.
Step 2) On the top right corner of the EC2 dashboard, choose the AWS Region in which you want to provision the EC2 server.
Here we are selecting N. Virginia. AWS provides 10 Regions all over the globe.
Step 3) Once your desired Region is selected, come back to the EC2 Dashboard.
Checking the modification parameters
Step 1) On the EC2 Dashboard, select the instance whose configuration parameters you want to modify and Click on the “Actions” button as shown below.
Step 2) As you click the button, the drop- down will show us all the areas where we can modify the instance characteristics.
Viewing the connection details
Connect option below will show us ways in which we can connect to an EC2 instance.
Step 1) Click on option ‘Connect.’
You may choose to connect with a standalone SSH client or a java client. You will get a step-by-step procedure on how you can connect to your instance.
For this tutorial, we can see the connection methods for a Linux instance.
Launching multiple instances with the similar configuration
If you have a single EC2 instance running with a particular configuration, and you wish to quickly launch another instance in a one-click deployment, then ‘Launch More Like This’ option helps us do that.
Step 1) Click on ‘Launch More Like This.’
You will be straightaway directed to the review instance details page of the launch instance wizard. Here we can verify all the details once more.
Step 2) On review instance details page Click on button ‘Launch.’
Step 3) In this window,
Select an existing key pair
Click on “Launch Instance.”
Instance launch progress can be seen as below.
You can see below that a new instance is in a pending state before creation.
You can see that the new instance has the same tag as well.
Changing the instance state
You can change the instance state on the fly from the Management Console on a single click.
Step 1) In this step, Click on ‘Instance State’ under actions.
Stop – you can stop the running instance
Reboot – you can reboot the instance
Terminate – you can delete the instance permanently
Changing instance settings
Here you can change a lot of instance settings like security groups, termination protection, etc.
Let’s us see each one in detail.
Creating tags
Add/Edit Tags – You can add or edit the tags assigned to the instance. Tagging makes it easier for the business owner of the AWS account to keep a track of the instances especially if there are multiple environments.
AWS admins should assign each instance a tag based on the segregation e.g.: tagging all the instances in the production environment as ‘Prod’ or tagging the instances belonging to a department with the department initials etc. Tagging is a very effective method to track the costing of the instances as well.
Let’s see how to change tags
Step 1) In this step,
Click on instance setting
Click on ‘Add/Edit Tags.’
Step 2) A tag is just a key-value pair.
So we have assigned a new tag as Department and added its value as Cloud.
Click on Save
Step 3) Come back to the EC2 Dashboard and
Select your instance again
Select the tab of ‘Tags’
Note that the new tag as “Department” with value as Cloud has appeared under Tags.
Attaching to Auto Scaling Group
An EC2 instance can be attached to an Auto Scaling Group on the fly.
Step 1) In this step, we do following things
Click on ‘Instance Settings’
Click on ‘Attach to Auto Scaling Group.’
Step 2) In this step,
Attach an instance to an existing AS group. You can also create a new AS group in this step.
Select one AS group from the list of already existing groups.
Click on ‘Attach’.
This action will attach your instance to an auto-scaling group in your environment.
Changing instance type
You can change the instance-type of your instance if you desire higher configuration instance as per your application requirement. This can be done to vertically scale your instance and provide you with more compute/memory capacity.
Let’s see how to do this.
You cannot change an instance type if it’s a running server. You have to stop it before doing so.
Step 1) In this step,
Go to ‘Instance State’
Click on ‘Stop’. This will stop the instance.
Note that the instance state is now in “stopping” mode on the EC2 Dashboard. You change an instance type now.
Step 2) In this step,
Go to ‘Instance Settings’
Click on ‘Change Instance Type’
A Change Instance Type pop-up will appear.
Step 3) You can select from a range of EC2 available instance types. For this tutorial, we are changing it to t2.nano just for the sake of demonstration.
Step 4) Select t2.nano and hit ‘Apply’.
Notice on the EC2 Dashboard, your instance type has been changed to the said type automatically.
You can now start your instance and continue on the operations on that. There will be no change in other configuration parameters and also your existing installations on the server will remain intact.
Enabling termination protection
An instance should always have termination protection enabled especially on production servers. This will ensure that your EC2 instance is not getting accidentally terminated.
AWS will add an additional level of security in case you happen to accidentally hit the instance terminate option.
Let’s see how to enable termination protection.
Step 1) In this step,
Go to ‘Instance Settings.’
Click on ‘Change Termination Protection.’
Step 2) Notice that the current setting on our instance is disabled. Click on “Yes,Enable”.
This has enabled Termination protection on our instance. We’ll check to see if our instance gets deleted when we hit Terminate.
Step 3) In this step,
Select option ‘Instance State’ and then
Click on ‘Terminate.’
AWS will immediately notify you that the EC2 instance has “termination protection enabled” and you will not be able to delete it. The ‘Terminate’ button below is disabled.
Changing user data
When you launch a new EC2 instance, you have the option to pass user data to an instance to run tasks at boot time automatically e.g. common configuration tasks, init scripts, etc.
You can pass the user data in the form of shell scripts or cloud-init directives. This can be either plain text, as a file or as base64 encoded text for API calls.
Here we will see how we can edit these scripts.
You will have to stop the instance first, you will not be able to edit the instance userdata if it’s running. On a stopped instance, perform below steps.
Step 1) In this step, do the following things
Go to ‘Instance Settings’.
Click on ‘View/Change User Data’.
Here for the purpose of demonstration, we have a shell script which installs LAMP stack on the server.
Step 2) In this step,
View/ modify your user data field.
Click on “Save” tab.
Changing the shutdown behavior
If ever you have accidentally shutdown the instance via the OS console, you don’t want AWS EC2 to actually terminate the instance.
For that, we can set up the shutdown behavior as ‘Stop’ instead of ‘Terminate’. We can also do vice versa if the application requirement is as such.
Let’s see how to achieve this.
Step 1) In this step,
Go to ‘Instance Settings’.
Click on ‘Change Shutdown Behavior.’
Step 2) In this step, click on ‘Stop’ and then hit apply. The setting will be applied to the instance accordingly.
Step 3) Now when “stop” shutdown is initiated in the instance console via putty, it will not get terminated. It will simply shutdown normally.
Viewing system log
You can see the system log for any EC2 instance for troubleshooting purposes etc.
Step 1) In this step,
Go to ‘Instance Settings’.
Click on ‘Get System Log’.
You can see a separate window depicting the instance log details. Here we can see a snap of log when the instance was restarted.
Creating an instance AMI
You can create an AMI of your EC2 instance for backup.
Step 1) In this step,
Go to ‘Image’.
Click on ‘Create Image’.
An image creation wizard will open.
Step 2) In this step,
Add the image name
Give some friendly description for the AMI
Check the volumes and then hit ‘Create Image’ button.
AWS will receive your create image request and will send a notification immediately.
You can check the status of the request on the EC2 dashboard as ‘pending’ just like what is shown below.
After a while the status is “available” and you will have your AMI ready as a backup.
You can also de-register it from the dashboard once the backup is old.
Changing the instance network settings
Changing the Security Group
You can change the SG (Security Group) of an instance anytime. If you have another security group with different firewall rules, you can easily do so using the console.
Let’s see how.
Step 1 ) In this step,
Go to ‘Networking’.
Click on ‘Change Security Groups’.
Step 2) In the change security groups wizard, it will show the already existing SG on the instance along with a list of all the security groups in the region.
Step 3) In this step,
Tick the box against your desired SG
Click on ‘Assign Security Groups’ button.
Step 4) On the EC2 Dashboard, you can see that the SG of the instance has been changed. The instance will now send/receive traffic based on the new SG settings.
You can also add multiple security groups.
Adding a network interface
A network interface is like another NIC card to an instance. It will have another set of IPs additional to the already existing primary Network Interface.
Step 1) In this step,
Go to ‘Networking’.
Click on ‘Attach Network Interface’.
You will get an error prompt if you don’t have a Network Interface already created.
Let’s see how to create a Network Interface quickly.
Step 2) In this step,
Go to EC2 Dashboard, and click on ‘Network Interfaces’ on the left pane.
Click on ‘Create Network Interface’ button.
Step 3) In this step,
Add a description for your network interface
Select the subnet where you want to create your network interface. Keep the auto assign the private IP option default
Security groups are applied to a network interface of an instance, so here you will get an option for the same. Select your desired SG
Once you’re done entering the details, click on ‘Create.’
Now you can come back to the EC2 Dashboard and check that your network interface is getting created.
Now come back on Step 2) and go ahead with selecting your available interface which we just created and attach it to the instance.
Now as you can see the network interface which we just created is enlisted below automatically.
Your network interface will be attached to the instance immediately.
We can come back to the EC2 Dashboard and check our instance now. Note that the instance has 2 private IPs belonging to 2 network interfaces.
Dissociating EIP
An Elastic IP is a static Public IP.
You can dissociate an EIP directly from the instance dashboard.
Step 1) In this step
Click on ‘Networking.’
Click on ‘Dissociate Elastic IP Address.’
Step 2) Click on the button of dissociate, once we have verified the instance id and the EIP.
Check below that the instance dashboard now shows the EIP field blank.
Changing Source/Destination check
The Source/Destination Check attribute controls whether source/destination checking is enabled on the instance. Disabling this attribute enables an instance to handle network traffic that isn’t specifically destined for the instance. For example, instances running services such as network address translation, routing, or a firewall should set this value to disabled.
Step 1) In this step,
Click on ‘Networking.’
Click on ‘change Source/Dust. Check’
Step 2) Click on ‘Disable’. If it is disabled already, you can enable it in this step.
Managing private IP addresses
You can assign multiple private IP addresses to a single instance if that is your application architecture’s design. The maximum no of IPs you can assign of course depends on the EC2 instance type.
Step 1) In this step,
Click on ‘Networking.’
Click on ‘Manage Private IP addresses.’
You will be redirected to a new window to assign a secondary IP address to your instance.
Step 2) In this step,
Here we are leaving the field blank. This will enable AWS to auto-assign any available private IP to our instance.
Click on ‘Update.’
Note that an IP has been automatically assigned here.
Also, come back to the EC2 dashboard and notice the 2 private IPs assigned. These are 2 IPs on a single network interface.
Enabling/disabling ClassicLink to a VPC
If your instance is provisioned in EC2 – Classic, which is a deployment mode in AWS where resources are provisioned out of a VPC; then you can link your instance to a VPC environment as shown below.
The options below are disabled for us as our instance is already in a VPC.
Enabling detailed CloudWatch monitoring
AWS will by default have basic CloudWatch monitoring enabled on all its resources. However, if our instances are production instances, we may wish to enable detailed monitoring on them with additional costs of course.
Step 1) In this step,
Click on ‘CloudWatch Monitoring’
Click on ‘Enable Detailed Monitoring’
You can also add/edit alarms to alert you for attributes in your CloudWatch monitoring metrics.
Summary
Thus, we saw in this tutorial, how to enable/modify various attributes in AWS for the instance configuration from the Management Console after it is launched.
AWS provides many more configuration options via CLI/API.
For official guidelines and detailed information on managing EC2 instances, refer to the AWS Documentation on EC2 Instance Management.
To learn more about securing your EC2 instances, visit AWS EC2 Security Best Practices.