Frame 19229

Tutorial AWS CloudFront Security: Tingkatkan Keamanan & High Availability Aplikasi Web Fintech

Posted by taufik

November 21, 2025

foto artikel (3)

Dalam industri fintech, keandalan dan keamanan aplikasi web bukan sekedar fitur tambahan, melainkan  fondasi  kepercayaan pengguna. Ribuan transaksi finansial diproses setiap detik, dan gangguan sekecil apa pun bisa berarti kerugian besar, baik secara reputasi maupun finansial.  

Salah satu ancaman terbesar terhadap aplikasi web adalah serangan DDoS (Distributed Denial of Service) yang dapat memperlambat sistem, bahkan  downtime. Di sisi lain, kegagalan origin server bisa membuat layanan tidak tersedia bagi pengguna. 

Untuk menghadapi tantangan ini, arsitektur aplikasi perlu dilengkapi dengan lapisan keamanan berlapis dan mekanisme ketersediaan tinggi (high availability). Salah satu solusi yang terbukti efektif adalah kombinasi layanan AWS berikut:  

  • Amazon CloudFront sebagai CDN global dan lapisan pertahanan pertama. 
  • AWS Shield untuk proteksi otomatis terhadap serangan DDoS. 
  • AWS WAF untuk perlindungan di lapisan aplikasi. 
  • Origin Failover untuk memastikan aplikasi tetap berjalan bahkan saat origin utama bermasalah. 

Panduan ini akan membantu Anda menerapkan strategi cloudfront security secara menyeluruh, mulai dari konfigurasi hingga otomatisasi failover.  

1

 

Distribusi Cepat dan Pertahanan Awal dengan Amazon CloudFront

Amazon CloudFront berfungsi ganda: mempercepat pengiriman konten global dan melindungi aplikasi dari ancaman awal. Dengan jaringan edge locations di seluruh dunia, CloudFront secara otomatis cache konten terdekat dengan pengguna, mengurangi latensi, sekaligus mengurangi beban origin. 

Ketika diintegrasikan dengan AWS Shield dan AWS WAF, CloudFront menjadi gerbang keamanan pertama sebelum trafik mencapai server utama.  

2

 

Langkah Implementasi CloudFront 

  • Masuk ke AWS Management Console lalu buka CloudFront Console 
  • Pilih Distributions dan create distribution 
  • Masukkan Distribution name (muncul sebagai tag Name) 
  • (Opsional) Tambahkan hingga 50 tag 
  • Pilih Single website or app kemudian Next 

Opsional: Setup Domain 

  • Jika menggunakan domain di Route 53, pilih domain tersebut 
  • Jika menggunakan DNS provider lain, bisa dilanjutkan nanti 
  • Klik Next untuk lanjut ke konfigurasi origin 

Specify Origin 

Pilih jenis origin (S3, ALB, EC2, dll). 

Pilih salah satu: 

  • Use recommended origin settings 
  • Customize origin settings 

Enable Security Protections 

Pilih apakah ingin langsung mengaktifkan AWS WAF. 

Klik Next. 

(Opsional) Konfigurasi Sertifikat 

Jika menggunakan domain custom: 

  • Buat/pilih sertifikat SSL di ACM Region us-east-1 
  • Lanjutkan dengan Next 

Tahap Akhir 

  • Review semua konfigurasi 
  • Klik Create distribution 
  • Tunggu status berubah menjadi Deployed 
  • Catat Domain Name CloudFront dan sambungkan ke domain Anda via DNS 

 

Perlindungan Otomatis dari Serangan DDoS dengan AWS Shield

AWS Shield adalah layanan perlindungan DDoS otomatis yang bekerja secara real-time. Shield Standard aktif secara default pada layanan seperti CloudFront dan Route 53, sementara Shield Advanced memberikan tingkat perlindungan lebih tinggi dengan dukungan dari AWS DDoS Response Team (DRT). 

3

 

Shield Standard 

  • Aktif otomatis, tanpa konfigurasi 
  • Melindungi dari serangan volumetric dan state-exhaustion 
  • Mitigasi dilakukan otomatis di edge locations CloudFront 

Mengaktifkan Shield Advanced 

  • Masuk ke AWS Shield Console 
  • Pilih Subscribe to Shield Advanced 
  • Konfirmasi langganan 

Melindungi Resource CloudFront 

  • Klik Add resources 
  • Pilih Amazon CloudFront distribution 
  • Centang distribusi yang sudah dibuat sebelumnya 
  • (Opsional) Tambahkan Route 53 / Elastic IP 

Pemberitahuan & Monitoring 

  • Aktifkan CloudWatch Metrics 
  • Tambahkan SNS Topic untuk alert 

Verifikasi 

Pastikan distribusi muncul sebagai Protected Resource dengan status DDoS protection enabled. 

 

Perlindungan Aplikasi & High Availability: AWS WAF + Origin Failover

AWS WAF memberikan proteksi pada layer aplikasi, melindungi dari ancaman seperti SQL Injection atau XSS. Sementara itu, Origin Failover memastikan aplikasi tetap tersedia dengan otomatis mengalihkan trafik ke origin cadangan jika origin utama down. 

4

 

Langkah 1: Mengaktifkan AWS WAF 

1. Masuk ke AWS WAF Console (Region: Global). 

2. Klik Create Web ACL. 

3. Beri nama, misalnya FintechApp-WAF. 

4. Pilih CloudFront distributions sebagai resource. 

Tambahkan rules: 

  • AWS Managed Rules 
  • Custom rules (IP blocking, header filtering) 
  • Rate-based rule (opsional) 

5. Pilih Default action: Allow all traffic. 

6. Aktifkan CloudWatch Metrics atau logging via Firehose. 

7. Klik Create Web ACL 

 Langkah 2: Mengaktifkan Origin Failover 

1. Masuk ke CloudFront Console lalu pilih distribusi. 

2. Buka tab Origins dan Add origin group. 

3. Pilih: 

  • Primary origin: ALB / EC2 / S3 
  • Secondary origin: cadangan di region lain 

4. Atur failover berdasarkan HTTP status code (500, 502, 503, 504). 

5. Update Cache Behavior untuk menggunakan Origin Group. 

6. Deploy distribusi. 

Langkah 3: Uji Failover 

1. Nonaktifkan origin utama. 

2. Akses URL CloudFront. 

3. Verifikasi bahwa trafik dialihkan ke origin cadangan secara otomatis. 

 

Penutup

Dengan kombinasi Amazon CloudFront, AWS Shield, AWS WAF, dan Origin Failover, perusahaan fintech dapat membangun lapisan keamanan berlapis sekaligus menjaga performa aplikasi tetap optimal. Solusi ini memberikan kecepatan, perlindungan, dan high availability yang sangat penting dalam menghadapi serangan siber maupun lonjakan trafik. 

 

Ingin Pelajari Lebih Lanjut?

Jika Anda ingin memahami lebih dalam atau mendiskusikan bagaimana solusi keamanan CloudFront ini bisa diterapkan sesuai kebutuhan bisnis dan infrastruktur perusahaanmu, hubungi tim Central Data Technology (CDT) di link ini untuk konsultasi dan eksplorasi lanjutan! 

Penulis: Alexander Diva Grael Bangun

Editor: Wilsa Azmalia Putri – Content Writer CTI Group 

whatsapp icon.png
Start a Conversation

Privacy & Policy

PT Central Data Technology (“CDT” or “us”) is strongly committed to ensuring that your privacy is protected as utmost importance to us. https://centraldatatech.com/ , we shall govern your use of this website, including all pages within this website (collectively referred to herein below as this “Website”), we want to contribute to providing a safe and secure environment for visitors.

The following are terms of privacy policy (“Privacy Policy”) between you (“you” or “your”) and CDT. By accessing the website, you acknowledge that you have read, understood and agree to be bound by this Privacy Policy

Use of The Subscription Service by CDT and Our Customers

When you request information from CDT and supply information that personally identifies you or allows us to contact you, you agree to disclose that information with us. CDT may disclose such information for marketing, promotional and activity only for the purpose of CDT and the Website.

Collecting Information

You are free to explore the Website without providing any personal information about yourself. When you visit the Website or register for the subscription service, we provide some navigational information for you to fill out your personal information to access some content we offered.

CDT may collect your personal data such as your name, email address, company name, phone number and other information about yourself or your business. We are collecting your data in some ways, online and offline. CDT collects your data online using features of social media, email marketing, website, and cookies technology. We may collect your data offline in events like conference, gathering, workshop, etc. However, we will not use or disclose those informations with third party or send unsolicited email to any of the addresses we collect, without your express permission. We ensure that your personal identities will only be used in accordance with this Privacy Policy.

How CDT Use the Collected Information

CDT use the information that is collected only in compliance with this privacy policy. Customers who subscribe to our subscription services are obligated through our agreements with them to comply with this Privacy Policy.

In addition to the uses of your information, we may use your personal information to:

  • Improve your browsing experience by personalizing the websites and to improve the subscription services.
  • Send information about CDT.
  • Promote our services to you and share promotional and informational content with you in accordance with your communication preferences.
  • Send information to you regarding changes to our customers’ terms of service, Privacy Policy (including the cookie policy), or other legal agreements

Cookies Technology

Cookies are small pieces of data that the site transfers to the user’s computer hard drive when the user visits the website. Cookies can record your preferences when visiting a particular site and give the advantage of identifying the interest of our visitor for statistical analysis of our site. This information can enable us to improve the content, modifying and making our site more user friendly.

Cookies were used for some reasons such as technical reasons for our website to operate. Cookies also enable us to track and target the interest of our users to enhance the experience of our website and subscription service. This data is used to deliver customized content and promotions within the Helios to customers who have an interest on particular subjects.

You have the right to decide whether to accept or refuse cookies. You can edit your cookies preferences on browser setup. If you choose to refuse the cookies, you may still use our website though your access to some functionality and areas of our website may be restricted.

This Website may also display advertisements from third parties containing links to other websites of interest. Once you have used these links to leave our site, please note that we do not have any control over the website. CDT cannot be responsible for the protection and privacy of any information that you provide while visiting such websites and this Privacy Policy does not govern such websites.

Control Your Personal Data

CDT give control to you to manage your personal data. You can request access, correction, updates or deletion of your personal information. You may unsubscribe from our marketing activity by clicking unsubscribe us from the bottom of our email or contacting us directly to remove you from our subscription list.

We will keep your personal information accurate, and we allow you to correct or change your personal identifiable information through marketing@centraldatatech.com