The extracellular amylase production level by the moderate halophile Bacillus siamensis F2 was optimized, and the enzyme was biochemically characterized. The culture parameters for NaCl, carbon, nitrogen, pH, and temperature were optimized for high titers of amylase production. Growing B. siamensis F2 cultures in Great Salt Lake-2 medium with additions of (in g/L) NaCl (100), starch (30), yeast extract (2), KNO3 (2), and MgSO4 (1) at pH 8, 30 °C resulted in the maximum amylase production (4.2 U/ml). The amylase was active across a wide range of salinities (0 to 30% NaCl), pH (5.0-10.0), and temperatures (20-70 °C) and showed good stability with surfactants (sodium dodecyl sulfate (SDS) and Triton X-100); hence, it was identified as halo-acid-alkali-tolerant and surfactant stable. Temperature, pH, and salinity were optimal for amylase activity at 50 °C, pH 7, and 5% NaCl, respectively. It also generates amylase by utilizing agricultural wastes like sugarcane bagasse, sweet potato peel, and rice husk. Based on the performance of B. siamensis F2 using agricultural wastes and synthesizing amylase, the current study attempted to produce bioethanol by coculturing with baker's yeast using sugarcane bagasse and sweet potato peel as a substrate, which yielded 47 and 57 g/L of bioethanol, respectively. Besides bioethanol production, amylase secreted by F2 was also employed for juice clarification for better yield and clarity and for softening dough to produce better-quality buns. This novel amylase may have many potential applications in waste valorization, biorefinery sectors, and food industries.